Package | Description |
---|---|
net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
net.bytebuddy.dynamic.scaffold |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescription s without
loading any classes. |
Modifier and Type | Class and Description |
---|---|
static class |
RecordComponentDescription.ForLoadedRecordComponent
Represents a loaded record component.
|
static class |
RecordComponentDescription.InDefinedShape.AbstractBase
An abstract base implementation of a record component description in its defined shape.
|
static class |
RecordComponentDescription.Latent
A latent record component description.
|
Modifier and Type | Method and Description |
---|---|
RecordComponentDescription.InDefinedShape |
RecordComponentDescription.InDefinedShape.AbstractBase.asDefined()
Returns this type dependant in its defined shape, i.e.
|
RecordComponentDescription.InDefinedShape |
RecordComponentDescription.TypeSubstituting.asDefined()
Returns this type dependant in its defined shape, i.e.
|
RecordComponentDescription.InDefinedShape |
RecordComponentList.ForLoadedRecordComponents.get(int index) |
RecordComponentDescription.InDefinedShape |
RecordComponentList.ForTokens.get(int index) |
Modifier and Type | Method and Description |
---|---|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
RecordComponentList.asDefined()
Returns this list of these record component descriptions resolved to their defined shape.
|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
RecordComponentList.AbstractBase.asDefined()
Returns this list of these record component descriptions resolved to their defined shape.
|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
RecordComponentList.Empty.asDefined()
Returns this list of these record component descriptions resolved to their defined shape.
|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
TypeDescription.getRecordComponents()
Returns the list of record components that are declared by this type.
|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getRecordComponents()
Returns the list of record components that are declared by this type.
|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
TypeDescription.ForLoadedType.getRecordComponents()
Returns the list of record components that are declared by this type.
|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
TypeDescription.ArrayProjection.getRecordComponents()
Returns the list of record components that are declared by this type.
|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
TypeDescription.Latent.getRecordComponents()
Returns the list of record components that are declared by this type.
|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
TypeDescription.ForPackageDescription.getRecordComponents()
Returns the list of record components that are declared by this type.
|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
TypeDescription.SuperTypeLoading.getRecordComponents()
Returns the list of record components that are declared by this type.
|
Modifier and Type | Field and Description |
---|---|
protected RecordComponentList<RecordComponentDescription.InDefinedShape> |
TypeWriter.Default.recordComponents
The instrumented type's record components.
|
Modifier and Type | Method and Description |
---|---|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
InstrumentedType.Default.getRecordComponents()
Returns the list of record components that are declared by this type.
|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
InstrumentedType.Frozen.getRecordComponents()
Returns the list of record components that are declared by this type.
|
Constructor and Description |
---|
Default(TypeDescription instrumentedType,
ClassFileVersion classFileVersion,
TypeWriter.FieldPool fieldPool,
TypeWriter.RecordComponentPool recordComponentPool,
List<? extends DynamicType> auxiliaryTypes,
FieldList<FieldDescription.InDefinedShape> fields,
MethodList<?> methods,
MethodList<?> instrumentedMethods,
RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents,
LoadedTypeInitializer loadedTypeInitializer,
TypeInitializer typeInitializer,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
TypeValidation typeValidation,
ClassWriterStrategy classWriterStrategy,
TypePool typePool)
Creates a new default type writer.
|
ForCreation(TypeDescription instrumentedType,
ClassFileVersion classFileVersion,
TypeWriter.FieldPool fieldPool,
TypeWriter.MethodPool methodPool,
TypeWriter.RecordComponentPool recordComponentPool,
List<? extends DynamicType> auxiliaryTypes,
FieldList<FieldDescription.InDefinedShape> fields,
MethodList<?> methods,
MethodList<?> instrumentedMethods,
RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents,
LoadedTypeInitializer loadedTypeInitializer,
TypeInitializer typeInitializer,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
TypeValidation typeValidation,
ClassWriterStrategy classWriterStrategy,
TypePool typePool)
Creates a new default type writer for creating a new type that is not based on an existing class file.
|
ForInlining(TypeDescription instrumentedType,
ClassFileVersion classFileVersion,
TypeWriter.FieldPool fieldPool,
TypeWriter.RecordComponentPool recordComponentPool,
List<? extends DynamicType> auxiliaryTypes,
FieldList<FieldDescription.InDefinedShape> fields,
MethodList<?> methods,
MethodList<?> instrumentedMethods,
RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents,
LoadedTypeInitializer loadedTypeInitializer,
TypeInitializer typeInitializer,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
TypeValidation typeValidation,
ClassWriterStrategy classWriterStrategy,
TypePool typePool,
TypeDescription originalType,
ClassFileLocator classFileLocator)
Creates a new inlining type writer.
|
WithFullProcessing(TypeDescription instrumentedType,
ClassFileVersion classFileVersion,
TypeWriter.FieldPool fieldPool,
TypeWriter.RecordComponentPool recordComponentPool,
List<? extends DynamicType> auxiliaryTypes,
FieldList<FieldDescription.InDefinedShape> fields,
MethodList<?> methods,
MethodList<?> instrumentedMethods,
RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents,
LoadedTypeInitializer loadedTypeInitializer,
TypeInitializer typeInitializer,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
TypeValidation typeValidation,
ClassWriterStrategy classWriterStrategy,
TypePool typePool,
TypeDescription originalType,
ClassFileLocator classFileLocator,
MethodRegistry.Prepared methodRegistry,
Implementation.Target.Factory implementationTargetFactory,
MethodRebaseResolver methodRebaseResolver)
Creates a new inlining type writer that fully reprocesses a type.
|
Modifier and Type | Method and Description |
---|---|
RecordComponentDescription.InDefinedShape |
TypePool.Default.LazyTypeDescription.RecordComponentTokenList.get(int index) |
Modifier and Type | Method and Description |
---|---|
RecordComponentList<RecordComponentDescription.InDefinedShape> |
TypePool.Default.LazyTypeDescription.getRecordComponents()
Returns the list of record components that are declared by this type.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveRecordType(String recordTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
RecordComponentDescription.InDefinedShape definingRecordComponent)
Resolves a record component's type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveRecordType(String recordTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
RecordComponentDescription.InDefinedShape definingRecordComponent)
Resolves a record component's type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent.resolveRecordType(String recordTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
RecordComponentDescription.InDefinedShape definingRecordComponent)
Resolves a record component's type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent.Tokenized.resolveRecordType(String recordTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
RecordComponentDescription.InDefinedShape definingRecordComponent)
Resolves a record component's type.
|
Copyright © 2014–2023. All rights reserved.