Uses of Interface
net.bytebuddy.description.field.FieldDescription.InDefinedShape
Packages that use FieldDescription.InDefinedShape
Package
Description
An agent builder is used to easily implement load-time class-transformations using a Java agent.
The ASM package contains classes that are meant for direct interaction with the ASM API.
A package for types that allow for applying Byte Buddy transformation during a build process.
Contains descriptions of Java fields.
Contains descriptions of Java types and packages.
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
The implementation package contains any logic for intercepting method calls.
StackManipulation
s in this package are responsible for
creating compile-time constants and pushing them onto the operand stack.StackManipulation
s of this package are responsible for
accessing type or method members, i.e.Contains an API for matching Java byte code entities.
Classes of this package allow for the creating
TypeDescription
s without
loading any classes.This package contains utility classes for common use within any Byte Buddy logic.
-
Uses of FieldDescription.InDefinedShape in net.bytebuddy.agent.builder
Fields in net.bytebuddy.agent.builder with type parameters of type FieldDescription.InDefinedShapeModifier and TypeFieldDescriptionprivate final List
<FieldDescription.InDefinedShape> AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.ConstructorImplementation.Appender.declaredFields
The fields that are declared by the instrumented type.private final List
<FieldDescription.InDefinedShape> AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.declaredFields
The instrumented type's declared fields.Method parameters in net.bytebuddy.agent.builder with type arguments of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionprotected static ByteCodeAppender
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.of
(MethodDescription targetMethod, JavaConstant.MethodType specializedLambdaMethod, List<FieldDescription.InDefinedShape> declaredFields, JavaConstant.MethodHandle.HandleType handleType, TypeDescription targetType) Resolves an appropriate appender for this lambda expression.Constructor parameters in net.bytebuddy.agent.builder with type arguments of type FieldDescription.InDefinedShapeModifierConstructorDescriptionprotected
Appender
(List<FieldDescription.InDefinedShape> declaredFields) Creates a new appender.protected
Appender
(MethodDescription targetMethod, JavaConstant.MethodType specializedLambdaMethod, List<FieldDescription.InDefinedShape> declaredFields, AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher dispatcher) Creates an appender of a lambda expression's functional method. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.asm
Fields in net.bytebuddy.asm with type parameters of type FieldDescription.InDefinedShapeModifier and TypeFieldDescriptionprivate final List
<ModifierAdjustment.Adjustment<FieldDescription.InDefinedShape>> ModifierAdjustment.fieldAdjustments
A list of adjustments to apply to the instrumented type's declared fields.private final List
<ModifierAdjustment.Adjustment<FieldDescription.InDefinedShape>> ModifierAdjustment.ModifierAdjustingClassVisitor.fieldAdjustments
A list of field modifier adjustments to apply.private final ElementMatcher.Junction
<FieldDescription.InDefinedShape> MemberRemoval.fieldMatcher
The matcher that decides upon field removal.private final ElementMatcher.Junction
<FieldDescription.InDefinedShape> MemberRemoval.MemberRemovingClassVisitor.fieldMatcher
The matcher that determines field removal.private final ElementMatcher
<? super FieldDescription.InDefinedShape> MemberSubstitution.Replacement.ForElementMatchers.Factory.fieldMatcher
The field matcher to consider when discovering fields.private final ElementMatcher
<? super FieldDescription.InDefinedShape> MemberSubstitution.Replacement.ForElementMatchers.fieldMatcher
The field matcher to consider when discovering fields.private final Map
<String, FieldDescription.InDefinedShape> AsmVisitorWrapper.ForDeclaredFields.DispatchingVisitor.fields
A mapping of fields by their name and descriptor key-combination.private final Map
<String, FieldDescription.InDefinedShape> MemberRemoval.MemberRemovingClassVisitor.fields
A mapping of field names and descriptors to their description.private final Map
<String, FieldDescription.InDefinedShape> ModifierAdjustment.ModifierAdjustingClassVisitor.fields
A mapping of field names and descriptors to their description.private final ElementMatcher
<? super FieldDescription.InDefinedShape> AsmVisitorWrapper.ForDeclaredFields.Entry.matcher
The matcher to identify fields to be wrapped.private final ElementMatcher
<? super FieldDescription.InDefinedShape> MemberSubstitution.WithoutSpecification.ForMatchedField.matcher
A matcher for any field that should be substituted.Methods in net.bytebuddy.asm with parameters of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionMemberSubstitution.Replacement.bind
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, FieldDescription.InDefinedShape fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForElementMatchers.bind
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, FieldDescription.InDefinedShape fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForFirstBinding.bind
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, FieldDescription.InDefinedShape fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.NoOp.bind
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, FieldDescription.InDefinedShape fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.boolean
AsmVisitorWrapper.ForDeclaredFields.Entry.matches
(FieldDescription.InDefinedShape target) Matches a target against this element matcher.protected abstract JavaConstant.MethodHandle
Advice.OffsetMapping.ForFieldHandle.Access.resolve
(FieldDescription.InDefinedShape fieldDescription) Returns the appropriate method handle.protected abstract JavaConstant.MethodHandle
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access.resolve
(FieldDescription.InDefinedShape fieldDescription) Resolves a handle for the represented field access.org.objectweb.asm.FieldVisitor
AsmVisitorWrapper.ForDeclaredFields.Entry.wrap
(TypeDescription instrumentedType, FieldDescription.InDefinedShape fieldDescription, org.objectweb.asm.FieldVisitor fieldVisitor) Wraps a field visitor.org.objectweb.asm.FieldVisitor
AsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper.wrap
(TypeDescription instrumentedType, FieldDescription.InDefinedShape fieldDescription, org.objectweb.asm.FieldVisitor fieldVisitor) Wraps a field visitor.org.objectweb.asm.FieldVisitor
MemberAttributeExtension.ForField.wrap
(TypeDescription instrumentedType, FieldDescription.InDefinedShape fieldDescription, org.objectweb.asm.FieldVisitor fieldVisitor) Wraps a field visitor.Method parameters in net.bytebuddy.asm with type arguments of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionAsmVisitorWrapper.ForDeclaredFields.field
(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, List<? extends AsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper> fieldVisitorWrappers) Defines a new field visitor wrapper to be applied if the given field matcher is matched.AsmVisitorWrapper.ForDeclaredFields.field
(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, AsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper... fieldVisitorWrapper) Defines a new field visitor wrapper to be applied if the given field matcher is matched.MemberSubstitution.field
(ElementMatcher<? super FieldDescription.InDefinedShape> matcher) Substitutes any field access that matches the given matcher.protected static MemberSubstitution.Replacement.Factory
MemberSubstitution.Replacement.ForElementMatchers.Factory.ofField
(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, boolean matchFieldRead, boolean matchFieldWrite, MemberSubstitution.Substitution.Factory factory) Creates a factory that only matches field access for given access types.MemberAttributeExtension.ForField.on
(ElementMatcher<? super FieldDescription.InDefinedShape> matcher) Applies this attribute extension on any field that matches the supplied matcher.MemberRemoval.stripFields
(ElementMatcher<? super FieldDescription.InDefinedShape> matcher) Specifies that any field that matches the specified matcher should be removed.ModifierAdjustment.withFieldModifiers
(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, List<? extends ModifierContributor.ForField> modifierContributors) Adjusts a field's modifiers if it fulfills the supplied matcher.ModifierAdjustment.withFieldModifiers
(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, ModifierContributor.ForField... modifierContributor) Adjusts a field's modifiers if it fulfills the supplied matcher.org.objectweb.asm.ClassVisitor
AsmVisitorWrapper.Compound.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
AsmVisitorWrapper.ForDeclaredFields.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
AsmVisitorWrapper.ForDeclaredMethods.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
AsmVisitorWrapper.NoOp.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
AsmVisitorWrapper.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
MemberRemoval.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.ModifierAdjustment.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
TypeConstantAdjustment.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
TypeReferenceAdjustment.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.Constructor parameters in net.bytebuddy.asm with type arguments of type FieldDescription.InDefinedShapeModifierConstructorDescriptionprotected
DispatchingVisitor
(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, Map<String, FieldDescription.InDefinedShape> fields) Creates a new dispatching visitor.protected
Entry
(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, List<? extends AsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper> fieldVisitorWrappers) Creates a new entry.protected
Factory
(ElementMatcher<? super FieldDescription.InDefinedShape> fieldMatcher, ElementMatcher<? super MethodDescription> methodMatcher, boolean matchFieldRead, boolean matchFieldWrite, boolean includeVirtualCalls, boolean includeSuperCalls, MemberSubstitution.Substitution.Factory substitutionFactory) Creates a new replacement that triggers a substitution based on a row of matchers.protected
ForElementMatchers
(ElementMatcher<? super FieldDescription.InDefinedShape> fieldMatcher, ElementMatcher<? super MethodDescription> methodMatcher, boolean matchFieldRead, boolean matchFieldWrite, boolean includeVirtualCalls, boolean includeSuperCalls, MemberSubstitution.Substitution substitution) Creates a new replacement that triggers a substitution based on a row of matchers.protected
ForMatchedField
(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super FieldDescription.InDefinedShape> matcher) Creates a new member substitution for a matched field that requires a specification for how to perform a substitution.protected
ForMatchedField
(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super FieldDescription.InDefinedShape> matcher, boolean matchRead, boolean matchWrite) Creates a new member substitution for a matched field that requires a specification for how to perform a substitution.protected
MemberRemoval
(ElementMatcher.Junction<FieldDescription.InDefinedShape> fieldMatcher, ElementMatcher.Junction<MethodDescription> methodMatcher) Creates a new member removal instance.protected
MemberRemovingClassVisitor
(org.objectweb.asm.ClassVisitor classVisitor, ElementMatcher.Junction<FieldDescription.InDefinedShape> fieldMatcher, ElementMatcher.Junction<MethodDescription> methodMatcher, Map<String, FieldDescription.InDefinedShape> fields, Map<String, MethodDescription> methods) Creates a new member removing class visitor.protected
MemberRemovingClassVisitor
(org.objectweb.asm.ClassVisitor classVisitor, ElementMatcher.Junction<FieldDescription.InDefinedShape> fieldMatcher, ElementMatcher.Junction<MethodDescription> methodMatcher, Map<String, FieldDescription.InDefinedShape> fields, Map<String, MethodDescription> methods) Creates a new member removing class visitor.protected
ModifierAdjustingClassVisitor
(org.objectweb.asm.ClassVisitor classVisitor, List<ModifierAdjustment.Adjustment<TypeDescription>> typeAdjustments, List<ModifierAdjustment.Adjustment<FieldDescription.InDefinedShape>> fieldAdjustments, List<ModifierAdjustment.Adjustment<MethodDescription>> methodAdjustments, TypeDescription instrumentedType, Map<String, FieldDescription.InDefinedShape> fields, Map<String, MethodDescription> methods) Creates a new modifier adjusting visitor. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.build
Methods in net.bytebuddy.build with parameters of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionint
HashCodeAndEqualsPlugin.AnnotationOrderComparator.compare
(FieldDescription.InDefinedShape left, FieldDescription.InDefinedShape right) Method parameters in net.bytebuddy.build with type arguments of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionorg.objectweb.asm.ClassVisitor
RenamingPlugin.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.description.field
Classes in net.bytebuddy.description.field that implement FieldDescription.InDefinedShapeModifier and TypeClassDescriptionstatic class
An implementation of a field description for a loaded field.static class
An abstract base implementation of a field description in its defined shape.static class
A latent field description describes a field that is not attached to a declaringTypeDescription
.Methods in net.bytebuddy.description.field that return FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionFieldDescription.InDefinedShape.AbstractBase.asDefined()
Returns this type dependant in its defined shape, i.e.FieldDescription.TypeSubstituting.asDefined()
Returns this type dependant in its defined shape, i.e.FieldList.ForLoadedFields.get
(int index) FieldList.ForTokens.get
(int index) Methods in net.bytebuddy.description.field that return types with arguments of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionFieldList.AbstractBase.asDefined()
Returns this list of these field descriptions resolved to their defined shape.FieldList.asDefined()
Returns this list of these field descriptions resolved to their defined shape.FieldList.Empty.asDefined()
Returns this list of these field descriptions resolved to their defined shape. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.description.type
Methods in net.bytebuddy.description.type that return types with arguments of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionTypeDescription.AbstractBase.OfSimpleType.WithDelegation.getDeclaredFields()
Returns the fields that this type declares.TypeDescription.ArrayProjection.getDeclaredFields()
Returns the fields that this type declares.TypeDescription.ForLoadedType.getDeclaredFields()
Returns the fields that this type declares.TypeDescription.ForPackageDescription.getDeclaredFields()
Returns the fields that this type declares.TypeDescription.getDeclaredFields()
Returns the fields that this type declares.TypeDescription.Latent.getDeclaredFields()
Returns the fields that this type declares.TypeDescription.SuperTypeLoading.getDeclaredFields()
Returns the fields that this type declares. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic declared as FieldDescription.InDefinedShapeModifier and TypeFieldDescriptionprivate final FieldDescription.InDefinedShape
Transformer.ForField.TransformedField.fieldDescription
The field's defined shape.Methods in net.bytebuddy.dynamic that return FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionTransformer.ForField.TransformedField.asDefined()
Returns this type dependant in its defined shape, i.e.Constructors in net.bytebuddy.dynamic with parameters of type FieldDescription.InDefinedShapeModifierConstructorDescriptionprotected
TransformedField
(TypeDescription instrumentedType, TypeDefinition declaringType, FieldDescription.Token token, FieldDescription.InDefinedShape fieldDescription) Creates a new transformed field. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold with type parameters of type FieldDescription.InDefinedShapeModifier and TypeFieldDescriptionprotected final FieldList
<FieldDescription.InDefinedShape> TypeWriter.Default.fields
The instrumented type's declared fields.Methods in net.bytebuddy.dynamic.scaffold that return FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionTypeWriter.Default.ForInlining.WithDecorationOnly.LazyFieldList.get
(int index) Methods in net.bytebuddy.dynamic.scaffold that return types with arguments of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionInstrumentedType.Default.getDeclaredFields()
Returns the fields that this type declares.InstrumentedType.Frozen.getDeclaredFields()
Returns the fields that this type declares.Constructor parameters in net.bytebuddy.dynamic.scaffold with type arguments of type FieldDescription.InDefinedShapeModifierConstructorDescriptionprotected
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.protected
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.protected
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.protected
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. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.implementation
Classes in net.bytebuddy.implementation that implement FieldDescription.InDefinedShapeModifier and TypeClassDescriptionprotected static class
A description of a field that stores a cached value.Fields in net.bytebuddy.implementation declared as FieldDescription.InDefinedShapeModifier and TypeFieldDescriptionprivate final FieldDescription.InDefinedShape
MethodCall.TargetHandler.ForValue.fieldDescription
A description of the field that contains the value.Fields in net.bytebuddy.implementation with type parameters of type FieldDescription.InDefinedShapeModifier and TypeFieldDescriptionprivate final Comparator
<? super FieldDescription.InDefinedShape> EqualsMethod.comparator
The comparator to apply for ordering fields.private final List
<Comparator<? super FieldDescription.InDefinedShape>> EqualsMethod.CompoundComparator.comparators
All comparators to be applied in the application order.private final List
<FieldDescription.InDefinedShape> EqualsMethod.Appender.fieldDescriptions
A list of fields to use for the comparison.private final List
<FieldDescription.InDefinedShape> HashCodeMethod.Appender.fieldDescriptions
A list of fields to include in the hash code computation.private final List
<? extends FieldDescription.InDefinedShape> ToStringMethod.Appender.fieldDescriptions
The list of fields to include in theObject.toString()
implementation.private final ElementMatcher.Junction
<? super FieldDescription.InDefinedShape> EqualsMethod.ignored
A matcher to filter fields that should not be used for a equality resolution.private final ElementMatcher.Junction
<? super FieldDescription.InDefinedShape> HashCodeMethod.ignored
A matcher to filter fields that should not be used for a hash codes computation.private final ElementMatcher.Junction
<? super FieldDescription.InDefinedShape> ToStringMethod.ignored
A filter that determines what fields to ignore.private final ElementMatcher
<? super FieldDescription.InDefinedShape> EqualsMethod.Appender.nonNullable
A matcher to determine fields of a reference type that cannot benull
.private final ElementMatcher.Junction
<? super FieldDescription.InDefinedShape> EqualsMethod.nonNullable
A matcher to determine fields of a reference type that cannot benull
.private final ElementMatcher
<? super FieldDescription.InDefinedShape> HashCodeMethod.Appender.nonNullable
A matcher to determine fields of a reference type that cannot benull
.private final ElementMatcher.Junction
<? super FieldDescription.InDefinedShape> HashCodeMethod.nonNullable
A matcher to determine fields of a reference type that cannot benull
.Implementation.Context.Default.registeredFieldCacheEntries
A map of already registered field caches to their field representation.private final Set
<FieldDescription.InDefinedShape> Implementation.Context.Default.registeredFieldCacheFields
A set of registered field cache entries.Methods in net.bytebuddy.implementation that return FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionImplementation.Context.cache
(StackManipulation fieldValue, TypeDescription fieldType) Caches a single value by storing it in form of aprivate
,final
andstatic
field.Implementation.Context.Default.cache
(StackManipulation fieldValue, TypeDescription fieldType) Caches a single value by storing it in form of aprivate
,final
andstatic
field.Implementation.Context.Disabled.cache
(StackManipulation fieldValue, TypeDescription fieldType) Caches a single value by storing it in form of aprivate
,final
andstatic
field.protected FieldDescription.InDefinedShape
FieldAccessor.ForSetter.OfReferenceValue.initialize
(TypeDescription instrumentedType) Initializes a value to be used during method instrumentation.Methods in net.bytebuddy.implementation with parameters of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionint
EqualsMethod.CompoundComparator.compare
(FieldDescription.InDefinedShape left, FieldDescription.InDefinedShape right) int
EqualsMethod.NaturalOrderComparator.compare
(FieldDescription.InDefinedShape left, FieldDescription.InDefinedShape right) int
EqualsMethod.TypePropertyComparator.compare
(FieldDescription.InDefinedShape left, FieldDescription.InDefinedShape right) protected StackManipulation
FieldAccessor.ForSetter.OfReferenceValue.resolve
(FieldDescription.InDefinedShape target, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.Method parameters in net.bytebuddy.implementation with type arguments of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionEqualsMethod.withFieldOrder
(Comparator<? super FieldDescription.InDefinedShape> comparator) Applies the supplied comparator to determine an order for fields for being compared.EqualsMethod.withIgnoredFields
(ElementMatcher<? super FieldDescription.InDefinedShape> ignored) Returns a new version of this equals method implementation that ignores the specified fields additionally to any previously specified fields.HashCodeMethod.withIgnoredFields
(ElementMatcher<? super FieldDescription.InDefinedShape> ignored) Returns a new version of this hash code method implementation that ignores the specified fields additionally to any previously specified fields.ToStringMethod.withIgnoredFields
(ElementMatcher<? super FieldDescription.InDefinedShape> ignored) Returns a new version of this toString method implementation that ignores the specified fields additionally to any previously specified fields.EqualsMethod.withNonNullableFields
(ElementMatcher<? super FieldDescription.InDefinedShape> nonNullable) Returns a new version of this equals method implementation that does not apply anull
value check for the specified fields if they have a reference type additionally to any previously specified fields.HashCodeMethod.withNonNullableFields
(ElementMatcher<? super FieldDescription.InDefinedShape> nonNullable) Returns a new version of this hash code method implementation that does not apply anull
value check for the specified fields if they have a reference type additionally to any previously specified fields.Constructors in net.bytebuddy.implementation with parameters of type FieldDescription.InDefinedShapeModifierConstructorDescriptionprotected
ForValue
(FieldDescription.InDefinedShape fieldDescription) Creates a new target handler for a field value.Constructor parameters in net.bytebuddy.implementation with type arguments of type FieldDescription.InDefinedShapeModifierConstructorDescriptionprotected
Appender
(TypeDescription instrumentedType, StackManipulation baseline, List<FieldDescription.InDefinedShape> fieldDescriptions, ElementMatcher<? super FieldDescription.InDefinedShape> nonNullable) Creates a new appender.protected
Appender
(TypeDescription instrumentedType, StackManipulation baseline, List<FieldDescription.InDefinedShape> fieldDescriptions, ElementMatcher<? super FieldDescription.InDefinedShape> nonNullable) Creates a new appender.protected
Appender
(StackManipulation initialValue, int multiplier, List<FieldDescription.InDefinedShape> fieldDescriptions, ElementMatcher<? super FieldDescription.InDefinedShape> nonNullable) Creates a new appender for implementing a hash code method.protected
Appender
(StackManipulation initialValue, int multiplier, List<FieldDescription.InDefinedShape> fieldDescriptions, ElementMatcher<? super FieldDescription.InDefinedShape> nonNullable) Creates a new appender for implementing a hash code method.protected
Appender
(String prefix, String start, String end, String separator, String definer, List<? extends FieldDescription.InDefinedShape> fieldDescriptions) Creates a new appender.protected
CompoundComparator
(List<? extends Comparator<? super FieldDescription.InDefinedShape>> comparators) Creates a compound comparator.private
EqualsMethod
(EqualsMethod.SuperClassCheck superClassCheck, EqualsMethod.TypeCompatibilityCheck typeCompatibilityCheck, ElementMatcher.Junction<? super FieldDescription.InDefinedShape> ignored, ElementMatcher.Junction<? super FieldDescription.InDefinedShape> nonNullable, Comparator<? super FieldDescription.InDefinedShape> comparator) Creates a new equals method implementation.private
EqualsMethod
(EqualsMethod.SuperClassCheck superClassCheck, EqualsMethod.TypeCompatibilityCheck typeCompatibilityCheck, ElementMatcher.Junction<? super FieldDescription.InDefinedShape> ignored, ElementMatcher.Junction<? super FieldDescription.InDefinedShape> nonNullable, Comparator<? super FieldDescription.InDefinedShape> comparator) Creates a new equals method implementation.private
HashCodeMethod
(HashCodeMethod.OffsetProvider offsetProvider, int multiplier, ElementMatcher.Junction<? super FieldDescription.InDefinedShape> ignored, ElementMatcher.Junction<? super FieldDescription.InDefinedShape> nonNullable) Creates a new hash code method implementation.private
ToStringMethod
(ToStringMethod.PrefixResolver prefixResolver, String start, String end, String separator, String definer, ElementMatcher.Junction<? super FieldDescription.InDefinedShape> ignored) Creates a newtoString
implementation. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.implementation.bytecode.constant
Fields in net.bytebuddy.implementation.bytecode.constant declared as FieldDescription.InDefinedShapeModifier and TypeFieldDescriptionprivate final FieldDescription.InDefinedShape
FieldConstant.fieldDescription
The field to be represent as aField
.Constructors in net.bytebuddy.implementation.bytecode.constant with parameters of type FieldDescription.InDefinedShapeModifierConstructorDescriptionFieldConstant
(FieldDescription.InDefinedShape fieldDescription) Creates a new field constant. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.implementation.bytecode.member
Fields in net.bytebuddy.implementation.bytecode.member declared as FieldDescription.InDefinedShapeModifier and TypeFieldDescriptionprivate final FieldDescription.InDefinedShape
FieldAccess.AccessDispatcher.fieldDescription
A description of the accessed field.Methods in net.bytebuddy.implementation.bytecode.member with parameters of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionstatic FieldAccess.Defined
FieldAccess.forField
(FieldDescription.InDefinedShape fieldDescription) Creates a field access representation for a given field.Constructors in net.bytebuddy.implementation.bytecode.member with parameters of type FieldDescription.InDefinedShapeModifierConstructorDescriptionprotected
AccessDispatcher
(FieldDescription.InDefinedShape fieldDescription) Creates a new access dispatcher. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.matcher
Methods in net.bytebuddy.matcher with parameters of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionstatic <T extends FieldDescription>
ElementMatcher.Junction<T> ElementMatchers.is
(FieldDescription.InDefinedShape field) Exactly matches a given field as aFieldDescription
in its defined shape.Method parameters in net.bytebuddy.matcher with type arguments of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionstatic <T extends FieldDescription>
ElementMatcher.Junction<T> ElementMatchers.definedField
(ElementMatcher<? super FieldDescription.InDefinedShape> matcher) Matches a field in its defined shape. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement FieldDescription.InDefinedShapeModifier and TypeClassDescriptionprivate class
A lazy field description that only resolved type references when required.Methods in net.bytebuddy.pool that return FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionTypePool.Default.LazyTypeDescription.FieldTokenList.get
(int index) Methods in net.bytebuddy.pool that return types with arguments of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionTypePool.Default.LazyTypeDescription.getDeclaredFields()
Returns the fields that this type declares.Methods in net.bytebuddy.pool with parameters of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.resolveFieldType
(String fieldTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField) Resolves the field type of the represented field.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.Tokenized.resolveFieldType
(String fieldTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField) Resolves the field type of the represented field.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveFieldType
(String fieldTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField) Resolves the field type of the represented field.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveFieldType
(String fieldTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField) Resolves the field type of the represented field. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.utility
Methods in net.bytebuddy.utility with parameters of type FieldDescription.InDefinedShapeModifier and TypeMethodDescriptionstatic JavaConstant.Dynamic
JavaConstant.Dynamic.ofField
(FieldDescription.InDefinedShape fieldDescription) Returns astatic
,final
field constant.protected static JavaConstant.MethodHandle.HandleType
JavaConstant.MethodHandle.HandleType.ofGetter
(FieldDescription.InDefinedShape fieldDescription) Extracts a handle type for a getter of the given field.static JavaConstant.MethodHandle
JavaConstant.MethodHandle.ofGetter
(FieldDescription.InDefinedShape fieldDescription) Returns a method handle for a setter of the given field.protected static JavaConstant.MethodHandle.HandleType
JavaConstant.MethodHandle.HandleType.ofSetter
(FieldDescription.InDefinedShape fieldDescription) Extracts a handle type for a setter of the given field.static JavaConstant.MethodHandle
JavaConstant.MethodHandle.ofSetter
(FieldDescription.InDefinedShape fieldDescription) Returns a method handle for a getter of the given field.static JavaConstant
JavaConstant.Dynamic.ofVarHandle
(FieldDescription.InDefinedShape fieldDescription) Resolves a var handle constant for a field.