Uses of Interface
net.bytebuddy.description.field.FieldDescription.InDefinedShape
-
Packages that use FieldDescription.InDefinedShape Package Description net.bytebuddy.agent.builder An agent builder is used to easily implement load-time class-transformations using a Java agent.net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.description.field Contains descriptions of Java fields.net.bytebuddy.description.type Contains descriptions of Java types and packages.net.bytebuddy.dynamic 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.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.implementation The implementation package contains any logic for intercepting method calls.net.bytebuddy.implementation.bytecode.constant StackManipulation
s in this package are responsible for creating compile-time constants and pushing them onto the operand stack.net.bytebuddy.implementation.bytecode.member StackManipulation
s of this package are responsible for accessing type or method members, i.e.net.bytebuddy.matcher Contains an API for matching Java byte code entities.net.bytebuddy.pool Classes of this package allow for the creatingTypeDescription
s without loading any classes.net.bytebuddy.utility This package contains utility classes for common use within any Byte Buddy logic. -
-
Uses of FieldDescription.InDefinedShape in net.bytebuddy.agent.builder
Constructor parameters in net.bytebuddy.agent.builder with type arguments of type FieldDescription.InDefinedShape Constructor Description Appender(java.util.List<FieldDescription.InDefinedShape> declaredFields)
Creates a new appender.Appender(MethodDescription targetMethod, JavaConstant.MethodType specializedLambdaMethod, java.util.List<FieldDescription.InDefinedShape> declaredFields)
Creates an appender of a lambda expression's functional method. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.asm
Methods in net.bytebuddy.asm with parameters of type FieldDescription.InDefinedShape Modifier and Type Method Description boolean
AsmVisitorWrapper.ForDeclaredFields.Entry. matches(FieldDescription.InDefinedShape target)
MemberSubstitution.Substitution.Resolver
MemberSubstitution.Substitution.Compound. resolve(FieldDescription.InDefinedShape fieldDescription, boolean writeAccess)
MemberSubstitution.Substitution.Resolver
MemberSubstitution.Substitution.ForElementMatchers. resolve(FieldDescription.InDefinedShape fieldDescription, boolean writeAccess)
MemberSubstitution.Substitution.Resolver
MemberSubstitution.Substitution.NoOp. resolve(FieldDescription.InDefinedShape fieldDescription, boolean writeAccess)
MemberSubstitution.Substitution.Resolver
MemberSubstitution.Substitution. resolve(FieldDescription.InDefinedShape fieldDescription, boolean writeAccess)
Resolves a field access within a method body.org.objectweb.asm.FieldVisitor
AsmVisitorWrapper.ForDeclaredFields.Entry. wrap(TypeDescription instrumentedType, FieldDescription.InDefinedShape fieldDescription, org.objectweb.asm.FieldVisitor fieldVisitor)
org.objectweb.asm.FieldVisitor
AsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper. 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.InDefinedShape Modifier and Type Method Description AsmVisitorWrapper.ForDeclaredFields
AsmVisitorWrapper.ForDeclaredFields. field(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, java.util.List<? extends AsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper> fieldVisitorWrappers)
Defines a new field visitor wrapper to be applied if the given field matcher is matched.AsmVisitorWrapper.ForDeclaredFields
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.WithoutSpecification.ForMatchedField
MemberSubstitution. field(ElementMatcher<? super FieldDescription.InDefinedShape> matcher)
Substitutes any field access that matches the given matcher.protected static MemberSubstitution.Substitution
MemberSubstitution.Substitution.ForElementMatchers. ofField(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, boolean matchFieldRead, boolean matchFieldWrite, MemberSubstitution.Substitution.Resolver resolver)
Creates a substitution for any method that matches the supplied matcher.MemberRemoval
MemberRemoval. stripFields(ElementMatcher<? super FieldDescription.InDefinedShape> matcher)
Specifies that any field that matches the specified matcher should be removed.ModifierAdjustment
ModifierAdjustment. withFieldModifiers(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, java.util.List<? extends ModifierContributor.ForField> modifierContributors)
Adjusts a field's modifiers if it fulfills the supplied matcher.ModifierAdjustment
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)
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)
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)
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)
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)
ModifierAdjustment.ModifierAdjustingClassVisitor
ModifierAdjustment. wrap(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags)
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)
Constructor parameters in net.bytebuddy.asm with type arguments of type FieldDescription.InDefinedShape Constructor Description DispatchingVisitor(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, java.util.Map<java.lang.String,FieldDescription.InDefinedShape> fields)
Creates a new dispatching visitor.Entry(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, java.util.List<? extends AsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper> fieldVisitorWrappers)
Creates a new entry.ForElementMatchers(ElementMatcher<? super FieldDescription.InDefinedShape> fieldMatcher, ElementMatcher<? super MethodDescription> methodMatcher, boolean matchFieldRead, boolean matchFieldWrite, boolean includeVirtualCalls, boolean includeSuperCalls, MemberSubstitution.Substitution.Resolver resolver)
Creates a new substitution that applies element matchers to determine what byte code elements to substitute.ForMatchedField(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Substitution substitution, ElementMatcher<? super FieldDescription.InDefinedShape> matcher)
Creates a new member substitution for a matched field that requires a specification for how to perform a substitution.ForMatchedField(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Substitution substitution, 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.MemberRemoval(ElementMatcher.Junction<FieldDescription.InDefinedShape> fieldMatcher, ElementMatcher.Junction<MethodDescription> methodMatcher)
Creates a new member removal instance.MemberRemovingClassVisitor(org.objectweb.asm.ClassVisitor classVisitor, ElementMatcher.Junction<FieldDescription.InDefinedShape> fieldMatcher, ElementMatcher.Junction<MethodDescription> methodMatcher, java.util.Map<java.lang.String,FieldDescription.InDefinedShape> fields, java.util.Map<java.lang.String,MethodDescription> methods)
Creates a new member removing class visitor.MemberRemovingClassVisitor(org.objectweb.asm.ClassVisitor classVisitor, ElementMatcher.Junction<FieldDescription.InDefinedShape> fieldMatcher, ElementMatcher.Junction<MethodDescription> methodMatcher, java.util.Map<java.lang.String,FieldDescription.InDefinedShape> fields, java.util.Map<java.lang.String,MethodDescription> methods)
Creates a new member removing class visitor.ModifierAdjustingClassVisitor(org.objectweb.asm.ClassVisitor classVisitor, java.util.List<ModifierAdjustment.Adjustment<TypeDescription>> typeAdjustments, java.util.List<ModifierAdjustment.Adjustment<FieldDescription.InDefinedShape>> fieldAdjustments, java.util.List<ModifierAdjustment.Adjustment<MethodDescription>> methodAdjustments, TypeDescription instrumentedType, java.util.Map<java.lang.String,FieldDescription.InDefinedShape> fields, java.util.Map<java.lang.String,MethodDescription> methods)
Creates a new modifier adjusting visitor. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.description.field
Classes in net.bytebuddy.description.field that implement FieldDescription.InDefinedShape Modifier and Type Class Description static class
FieldDescription.ForLoadedField
An implementation of a field description for a loaded field.static class
FieldDescription.InDefinedShape.AbstractBase
An abstract base implementation of a field description in its defined shape.static class
FieldDescription.Latent
A latent field description describes a field that is not attached to a declaringTypeDescription
.Methods in net.bytebuddy.description.field that return FieldDescription.InDefinedShape Modifier and Type Method Description FieldDescription.InDefinedShape
FieldDescription.InDefinedShape.AbstractBase. asDefined()
FieldDescription.InDefinedShape
FieldDescription.TypeSubstituting. asDefined()
FieldDescription.InDefinedShape
FieldList.ForLoadedFields. get(int index)
FieldDescription.InDefinedShape
FieldList.ForTokens. get(int index)
Methods in net.bytebuddy.description.field that return types with arguments of type FieldDescription.InDefinedShape Modifier and Type Method Description FieldList<FieldDescription.InDefinedShape>
FieldList.AbstractBase. asDefined()
FieldList<FieldDescription.InDefinedShape>
FieldList. asDefined()
Returns this list of these field descriptions resolved to their defined shape.FieldList<FieldDescription.InDefinedShape>
FieldList.Empty. asDefined()
-
Uses of FieldDescription.InDefinedShape in net.bytebuddy.description.type
Methods in net.bytebuddy.description.type that return types with arguments of type FieldDescription.InDefinedShape Modifier and Type Method Description FieldList<FieldDescription.InDefinedShape>
TypeDescription.AbstractBase.OfSimpleType.WithDelegation. getDeclaredFields()
FieldList<FieldDescription.InDefinedShape>
TypeDescription.ArrayProjection. getDeclaredFields()
FieldList<FieldDescription.InDefinedShape>
TypeDescription.ForLoadedType. getDeclaredFields()
FieldList<FieldDescription.InDefinedShape>
TypeDescription.ForPackageDescription. getDeclaredFields()
FieldList<FieldDescription.InDefinedShape>
TypeDescription. getDeclaredFields()
FieldList<FieldDescription.InDefinedShape>
TypeDescription.Latent. getDeclaredFields()
FieldList<FieldDescription.InDefinedShape>
TypeDescription.SuperTypeLoading. getDeclaredFields()
-
Uses of FieldDescription.InDefinedShape in net.bytebuddy.dynamic
Methods in net.bytebuddy.dynamic that return FieldDescription.InDefinedShape Modifier and Type Method Description FieldDescription.InDefinedShape
Transformer.ForField.TransformedField. asDefined()
Constructors in net.bytebuddy.dynamic with parameters of type FieldDescription.InDefinedShape Constructor Description 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.InDefinedShape Modifier and Type Field Description protected FieldList<FieldDescription.InDefinedShape>
TypeWriter.Default. fields
The instrumented type's declared fields.Methods in net.bytebuddy.dynamic.scaffold that return types with arguments of type FieldDescription.InDefinedShape Modifier and Type Method Description FieldList<FieldDescription.InDefinedShape>
InstrumentedType.Default. getDeclaredFields()
FieldList<FieldDescription.InDefinedShape>
InstrumentedType.Frozen. getDeclaredFields()
Constructor parameters in net.bytebuddy.dynamic.scaffold with type arguments of type FieldDescription.InDefinedShape Constructor Description Default(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, java.util.List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypePool typePool)
Creates a new default type writer.ForCreation(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.MethodPool methodPool, java.util.List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, 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, MethodRegistry.Prepared methodRegistry, Implementation.Target.Factory implementationTargetFactory, java.util.List<DynamicType> explicitAuxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator, MethodRebaseResolver methodRebaseResolver)
Creates a new default type writer for creating a new type that is not based on an existing class file. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.implementation
Classes in net.bytebuddy.implementation that implement FieldDescription.InDefinedShape Modifier and Type Class Description protected static class
Implementation.Context.Default.CacheValueField
A description of a field that stores a cached value.Methods in net.bytebuddy.implementation that return FieldDescription.InDefinedShape Modifier and Type Method Description FieldDescription.InDefinedShape
Implementation.Context. cache(StackManipulation fieldValue, TypeDescription fieldType)
Caches a single value by storing it in form of aprivate
,final
andstatic
field.FieldDescription.InDefinedShape
Implementation.Context.Default. cache(StackManipulation fieldValue, TypeDescription fieldType)
FieldDescription.InDefinedShape
Implementation.Context.Disabled. cache(StackManipulation fieldValue, TypeDescription fieldType)
-
Uses of FieldDescription.InDefinedShape in net.bytebuddy.implementation.bytecode.constant
Constructors in net.bytebuddy.implementation.bytecode.constant with parameters of type FieldDescription.InDefinedShape Constructor Description FieldConstant(FieldDescription.InDefinedShape fieldDescription)
Creates a new field constant. -
Uses of FieldDescription.InDefinedShape in net.bytebuddy.implementation.bytecode.member
Methods in net.bytebuddy.implementation.bytecode.member with parameters of type FieldDescription.InDefinedShape Modifier and Type Method Description static 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.InDefinedShape Constructor Description 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.InDefinedShape Modifier and Type Method Description static <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.InDefinedShape Modifier and Type Method Description static <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
Methods in net.bytebuddy.pool that return FieldDescription.InDefinedShape Modifier and Type Method Description FieldDescription.InDefinedShape
TypePool.Default.LazyTypeDescription.FieldTokenList. get(int index)
Methods in net.bytebuddy.pool that return types with arguments of type FieldDescription.InDefinedShape Modifier and Type Method Description FieldList<FieldDescription.InDefinedShape>
TypePool.Default.LazyTypeDescription. getDeclaredFields()
Methods in net.bytebuddy.pool with parameters of type FieldDescription.InDefinedShape Modifier and Type Method Description TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField. resolveFieldType(java.lang.String fieldTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField)
Resolves the field type of the represented field.TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.Tokenized. resolveFieldType(java.lang.String fieldTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField)
TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed. resolveFieldType(java.lang.String fieldTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField)
TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw. resolveFieldType(java.lang.String fieldTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField)
-
Uses of FieldDescription.InDefinedShape in net.bytebuddy.utility
Methods in net.bytebuddy.utility with parameters of type FieldDescription.InDefinedShape Modifier and Type Method Description 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.
-