Uses of Interface
net.bytebuddy.description.field.FieldDescription
-
Packages that use FieldDescription Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.build A package for types that allow for applying Byte Buddy transformation during a build process.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.attribute All types and classes in this package are responsible for writing attributes for a given Java byte code element, i.e.net.bytebuddy.implementation.bind.annotation This package contains annotations, types and classes that are responsible for binding a method to calling another method by interpreting annotations that indicate how a method should be bound to another method.net.bytebuddy.implementation.bytecode.member StackManipulations 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.utility This package contains utility classes for common use within any Byte Buddy logic. -
-
Uses of FieldDescription in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as FieldDescription Modifier and Type Field Description protected FieldDescriptionAdvice.OffsetMapping.Target.ForField. fieldDescriptionThe field value to load.Methods in net.bytebuddy.asm that return FieldDescription Modifier and Type Method Description protected abstract FieldDescriptionAdvice.OffsetMapping.ForField. resolve(TypeDescription instrumentedType)Resolves the field being bound.protected FieldDescriptionAdvice.OffsetMapping.ForField.Resolved. resolve(TypeDescription instrumentedType)protected FieldDescriptionAdvice.OffsetMapping.ForField.Unresolved. resolve(TypeDescription instrumentedType)Methods in net.bytebuddy.asm with parameters of type FieldDescription Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping. bind(java.lang.Class<T> type, FieldDescription fieldDescription)Binds the supplied annotation to the value of the supplied field.protected abstract MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification. doReplaceWith(FieldDescription fieldDescription)Creates a substitution for replacing the byte code elements matched by this instance with an access of the specified field.protected MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement. doReplaceWith(FieldDescription fieldDescription)protected MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification.ForMatchedField. doReplaceWith(FieldDescription fieldDescription)protected MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification.ForMatchedMethod. doReplaceWith(FieldDescription fieldDescription)MemberSubstitutionMemberSubstitution.WithoutSpecification. replaceWith(FieldDescription fieldDescription)Replaces any interaction with a matched byte code element by an interaction with the specified field.Constructors in net.bytebuddy.asm with parameters of type FieldDescription Constructor Description Factory(java.lang.Class<T> annotationType, FieldDescription fieldDescription)Creates a new factory for binding a specific field with read-only semantics and static typing.Factory(java.lang.Class<T> annotationType, FieldDescription fieldDescription, boolean readOnly, Assigner.Typing typing)Creates a new factory for binding a specific field.FieldAccessing(FieldDescription fieldDescription)Creates a resolver for a field access.ForField(FieldDescription fieldDescription, StackManipulation readAssignment)Creates a new target for a field value mapping.ReadOnly(FieldDescription fieldDescription)Creates a new read-only mapping for a field.ReadOnly(FieldDescription fieldDescription, StackManipulation readAssignment)Creates a new read-only mapping for a field.ReadWrite(FieldDescription fieldDescription)Creates a new target for a writable field.ReadWrite(FieldDescription fieldDescription, StackManipulation readAssignment, StackManipulation writeAssignment)Creates a new target for a writable field.Resolved(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, FieldDescription fieldDescription)Creates a resolved offset mapping for a field. -
Uses of FieldDescription in net.bytebuddy.build
Methods in net.bytebuddy.build that return types with arguments of type FieldDescription Modifier and Type Method Description protected ElementMatcher<FieldDescription>HashCodeAndEqualsPlugin. nonNullable(ElementMatcher<FieldDescription> matcher)Resolves the matcher to identify non-nullable fields.protected ElementMatcher<FieldDescription>HashCodeAndEqualsPlugin.WithNonNullableFields. nonNullable(ElementMatcher<FieldDescription> matcher)Methods in net.bytebuddy.build with parameters of type FieldDescription Modifier and Type Method Description booleanHashCodeAndEqualsPlugin.ValueMatcher. matches(FieldDescription target)Method parameters in net.bytebuddy.build with type arguments of type FieldDescription Modifier and Type Method Description protected ElementMatcher<FieldDescription>HashCodeAndEqualsPlugin. nonNullable(ElementMatcher<FieldDescription> matcher)Resolves the matcher to identify non-nullable fields.protected ElementMatcher<FieldDescription>HashCodeAndEqualsPlugin.WithNonNullableFields. nonNullable(ElementMatcher<FieldDescription> matcher) -
Uses of FieldDescription in net.bytebuddy.description.field
Classes in net.bytebuddy.description.field with type parameters of type FieldDescription Modifier and Type Interface Description interfaceFieldList<T extends FieldDescription>Implementations represent a list of field descriptions.static classFieldList.AbstractBase<S extends FieldDescription>An abstract base implementation of aFieldList.static classFieldList.Empty<S extends FieldDescription>An implementation of an empty field list.static classFieldList.Explicit<S extends FieldDescription>A wrapper implementation of a field list for a given list of field descriptions.Subinterfaces of FieldDescription in net.bytebuddy.description.field Modifier and Type Interface Description static interfaceFieldDescription.InDefinedShapeRepresents a field in its defined shape, i.e.static interfaceFieldDescription.InGenericShapeRepresents a field description in its generic shape, i.e.Classes in net.bytebuddy.description.field that implement FieldDescription Modifier and Type Class Description static classFieldDescription.AbstractBaseAn abstract base implementation of a field description.static classFieldDescription.ForLoadedFieldAn implementation of a field description for a loaded field.static classFieldDescription.InDefinedShape.AbstractBaseAn abstract base implementation of a field description in its defined shape.static classFieldDescription.LatentA latent field description describes a field that is not attached to a declaringTypeDescription.static classFieldDescription.TypeSubstitutingA field description that represents a given field but with a substituted field type.Constructors in net.bytebuddy.description.field with parameters of type FieldDescription Constructor Description Explicit(S... fieldDescription)Creates a new immutable wrapper field list.TypeSubstituting(TypeDescription.Generic declaringType, FieldDescription fieldDescription, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)Creates a field description with a substituted field type.Constructor parameters in net.bytebuddy.description.field with type arguments of type FieldDescription Constructor Description TypeSubstituting(TypeDescription.Generic declaringType, java.util.List<? extends FieldDescription> fieldDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)Creates a new type substituting field list. -
Uses of FieldDescription in net.bytebuddy.description.type
Methods in net.bytebuddy.description.type with parameters of type FieldDescription Modifier and Type Method Description static TypeList.GenericTypeList.Generic.ForDetachedTypes. attach(FieldDescription fieldDescription, java.util.List<? extends TypeDescription.Generic> detachedTypes)Creates a list of types that are attached to the provided field.static TypeDescription.Generic.Visitor.Substitutor.ForAttachmentTypeDescription.Generic.Visitor.Substitutor.ForAttachment. of(FieldDescription fieldDescription)Attaches all types to the given field description. -
Uses of FieldDescription in net.bytebuddy.dynamic
Classes in net.bytebuddy.dynamic that implement FieldDescription Modifier and Type Class Description protected static classTransformer.ForField.TransformedFieldAn implementation of a transformed field.Fields in net.bytebuddy.dynamic with type parameters of type FieldDescription Modifier and Type Field Description protected Transformer<FieldDescription>DynamicType.Builder.FieldDefinition.Optional.Valuable.AbstractBase.Adapter. transformerThe field transformer to apply.Methods in net.bytebuddy.dynamic that return FieldDescription Modifier and Type Method Description FieldDescriptionTransformer.ForField. transform(TypeDescription instrumentedType, FieldDescription fieldDescription)Methods in net.bytebuddy.dynamic that return types with arguments of type FieldDescription Modifier and Type Method Description static Transformer<FieldDescription>Transformer.ForField. withModifiers(java.util.List<? extends ModifierContributor.ForField> modifierContributors)Creates a field transformer that patches the transformed field by the given modifier contributors.static Transformer<FieldDescription>Transformer.ForField. withModifiers(ModifierContributor.ForField... modifierContributor)Creates a field transformer that patches the transformed field by the given modifier contributors.Methods in net.bytebuddy.dynamic with parameters of type FieldDescription Modifier and Type Method Description DynamicType.Builder.FieldDefinition.Optional.Valuable<S>DynamicType.Builder.AbstractBase. define(FieldDescription field)DynamicType.Builder.FieldDefinition.Optional.Valuable<T>DynamicType.Builder. define(FieldDescription field)Defines a field that is similar to the supplied field but without copying any annotations on the field.FieldDescriptionTransformer.ForField. transform(TypeDescription instrumentedType, FieldDescription fieldDescription)Method parameters in net.bytebuddy.dynamic with type arguments of type FieldDescription Modifier and Type Method Description DynamicType.Builder.FieldDefinition.Valuable<U>DynamicType.Builder.AbstractBase.Adapter. field(LatentMatcher<? super FieldDescription> matcher)DynamicType.Builder.FieldDefinition.Valuable<U>DynamicType.Builder.AbstractBase.Delegator. field(LatentMatcher<? super FieldDescription> matcher)DynamicType.Builder.FieldDefinition.Valuable<S>DynamicType.Builder.AbstractBase. field(ElementMatcher<? super FieldDescription> matcher)DynamicType.Builder.FieldDefinition.Valuable<T>DynamicType.Builder. field(ElementMatcher<? super FieldDescription> matcher)Matches a field that is already declared by the instrumented type.DynamicType.Builder.FieldDefinition.Valuable<T>DynamicType.Builder. field(LatentMatcher<? super FieldDescription> matcher)Matches a field that is already declared by the instrumented type.protected DynamicType.Builder.FieldDefinition.Optional<U>DynamicType.Builder.AbstractBase.Adapter.FieldDefinitionAdapter. materialize(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue)protected DynamicType.Builder.FieldDefinition.Optional<U>DynamicType.Builder.AbstractBase.Adapter.FieldMatchAdapter. materialize(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue)protected abstract DynamicType.Builder.FieldDefinition.Optional<V>DynamicType.Builder.FieldDefinition.Optional.Valuable.AbstractBase.Adapter. materialize(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue)Creates a new optional field definition for which all of the supplied values are represented.DynamicType.Builder.FieldDefinition.Optional<V>DynamicType.Builder.FieldDefinition.Optional.Valuable.AbstractBase.Adapter. transform(Transformer<FieldDescription> transformer)DynamicType.Builder.FieldDefinition.Optional<S>DynamicType.Builder.FieldDefinition. transform(Transformer<FieldDescription> transformer)Applies the supplied transformer onto the previously defined or matched field.Constructor parameters in net.bytebuddy.dynamic with type arguments of type FieldDescription Constructor Description Adapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue)Creates a new field adapter.FieldDefinitionAdapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue, FieldDescription.Token token)Creates a new field definition adapter.FieldMatchAdapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue, LatentMatcher<? super FieldDescription> matcher)Creates a new field match adapter.FieldMatchAdapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue, LatentMatcher<? super FieldDescription> matcher)Creates a new field match adapter.FieldMatchAdapter(LatentMatcher<? super FieldDescription> matcher)Creates a new field match adapter. -
Uses of FieldDescription in net.bytebuddy.dynamic.scaffold
Methods in net.bytebuddy.dynamic.scaffold that return FieldDescription Modifier and Type Method Description FieldDescriptionFieldLocator.Resolution. getField()Returns the field description if a field was located.FieldDescriptionFieldLocator.Resolution.Illegal. getField()FieldDescriptionFieldLocator.Resolution.Simple. getField()FieldDescriptionTypeWriter.FieldPool.Record.ForExplicitField. getField()FieldDescriptionTypeWriter.FieldPool.Record.ForImplicitField. getField()FieldDescriptionTypeWriter.FieldPool.Record. getField()Returns the field that this record represents.Methods in net.bytebuddy.dynamic.scaffold that return types with arguments of type FieldDescription Modifier and Type Method Description protected Transformer<FieldDescription>FieldRegistry.Default.Entry. getTransformer()Returns the field transformer to apply to any matched field.ElementMatcher<? super FieldDescription>FieldRegistry.Default.Entry. resolve(TypeDescription typeDescription)Methods in net.bytebuddy.dynamic.scaffold with parameters of type FieldDescription Modifier and Type Method Description protected TypeWriter.FieldPool.RecordFieldRegistry.Default.Compiled.Entry. bind(TypeDescription instrumentedType, FieldDescription fieldDescription)Binds this entry to the provided field description.booleanFieldRegistry.Default.Compiled.Entry. matches(FieldDescription target)TypeWriter.FieldPool.RecordFieldRegistry.Compiled.NoOp. target(FieldDescription fieldDescription)TypeWriter.FieldPool.RecordFieldRegistry.Default.Compiled. target(FieldDescription fieldDescription)TypeWriter.FieldPool.RecordTypeWriter.FieldPool. target(FieldDescription fieldDescription)Returns the field attribute appender that matches a given field description or a default field attribute appender if no appender was registered for the given field.Method parameters in net.bytebuddy.dynamic.scaffold with type arguments of type FieldDescription Modifier and Type Method Description protected abstract FieldList<?>FieldLocator.AbstractBase. locate(ElementMatcher<? super FieldDescription> matcher)Locates fields that match the given matcher.protected FieldList<?>FieldLocator.ForClassHierarchy. locate(ElementMatcher<? super FieldDescription> matcher)protected FieldList<?>FieldLocator.ForExactType. locate(ElementMatcher<? super FieldDescription> matcher)protected FieldList<?>FieldLocator.ForTopLevelType. locate(ElementMatcher<? super FieldDescription> matcher)FieldRegistryFieldRegistry.Default. prepend(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)FieldRegistryFieldRegistry.Default. prepend(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)FieldRegistryFieldRegistry. prepend(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)Prepends the given field definition to this field registry, i.e.FieldRegistryFieldRegistry. prepend(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)Prepends the given field definition to this field registry, i.e.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type FieldDescription Constructor Description ForExplicitField(FieldAttributeAppender attributeAppender, java.lang.Object defaultValue, FieldDescription fieldDescription)Creates a record for a rich field.ForImplicitField(FieldDescription fieldDescription)Creates a new record for a simple field.Simple(FieldDescription fieldDescription)Creates a new simple resolution for a field.Constructor parameters in net.bytebuddy.dynamic.scaffold with type arguments of type FieldDescription Constructor Description Entry(ElementMatcher<? super FieldDescription> matcher, FieldAttributeAppender fieldAttributeAppender, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)Creates a new entry.Entry(ElementMatcher<? super FieldDescription> matcher, FieldAttributeAppender fieldAttributeAppender, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)Creates a new entry.Entry(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)Creates a new entry.Entry(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)Creates a new entry. -
Uses of FieldDescription in net.bytebuddy.implementation
Classes in net.bytebuddy.implementation that implement FieldDescription Modifier and Type Class Description protected static classImplementation.Context.Default.CacheValueFieldA description of a field that stores a cached value.Methods in net.bytebuddy.implementation that return FieldDescription Modifier and Type Method Description FieldDescriptionFieldAccessor.FieldLocation.Absolute. resolve(MethodDescription instrumentedMethod)FieldDescriptionFieldAccessor.FieldLocation.Prepared. resolve(MethodDescription instrumentedMethod)Resolves the field description to use.FieldDescriptionFieldAccessor.FieldLocation.Relative.Prepared. resolve(MethodDescription instrumentedMethod)protected abstract FieldDescriptionMethodDelegation.ImplementationDelegate.ForField. resolve(TypeDescription instrumentedType)Resolves the field to which is delegated.protected FieldDescriptionMethodDelegation.ImplementationDelegate.ForField.WithInstance. resolve(TypeDescription instrumentedType)protected FieldDescriptionMethodDelegation.ImplementationDelegate.ForField.WithLookup. resolve(TypeDescription instrumentedType)Methods in net.bytebuddy.implementation with parameters of type FieldDescription Modifier and Type Method Description protected ByteCodeAppender.SizeInvocationHandlerAdapter. apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod, StackManipulation preparingManipulation, FieldDescription fieldDescription)Applies an implementation that delegates to a invocation handler.protected StackManipulationFieldAccessor. getter(FieldDescription fieldDescription, MethodDescription instrumentedMethod)Creates a getter getter.static FieldAccessor.AssignerConfigurableFieldAccessor. of(FieldDescription fieldDescription)Defines a field accessor where the specified field is accessed.MethodDescription.InDefinedShapeImplementation.Context.Default. registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)MethodDescription.InDefinedShapeImplementation.Context.Disabled. registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)MethodDescription.InDefinedShapeMethodAccessorFactory.Illegal. registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)MethodDescription.InDefinedShapeMethodAccessorFactory. registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)Registers a getter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.MethodDescription.InDefinedShapeImplementation.Context.Default. registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)MethodDescription.InDefinedShapeImplementation.Context.Disabled. registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)MethodDescription.InDefinedShapeMethodAccessorFactory.Illegal. registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)MethodDescription.InDefinedShapeMethodAccessorFactory. registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)Registers a setter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.protected StackManipulationFieldAccessor. setter(FieldDescription fieldDescription, ParameterDescription parameterDescription)Creates a setter instruction.protected ByteCodeAppenderImplementation.Context.Default.FieldCacheEntry. storeIn(FieldDescription fieldDescription)Returns a stack manipulation where the represented value is stored in the given field.Constructors in net.bytebuddy.implementation with parameters of type FieldDescription Constructor Description Absolute(FieldDescription fieldDescription)Creates an absolute field location.Appender(TypeDescription instrumentedType, FieldDescription fieldDescription)Creates a new appender.FieldGetter(TypeDescription instrumentedType, FieldDescription fieldDescription, java.lang.String suffix)Creates a new field getter.FieldGetterDelegation(TypeDescription instrumentedType, java.lang.String suffix, MethodAccessorFactory.AccessType accessType, FieldDescription fieldDescription)Creates a new field getter implementation.FieldSetter(TypeDescription instrumentedType, FieldDescription fieldDescription, java.lang.String suffix)Creates a new field setter.FieldSetterDelegation(TypeDescription instrumentedType, java.lang.String suffix, MethodAccessorFactory.AccessType accessType, FieldDescription fieldDescription)Creates a new field setter implementation.ForField(FieldDescription fieldDescription, MethodDescription instrumentedMethod)Creates a new argument loader for loading an existing field.ForField(FieldDescription fieldDescription, java.util.List<MethodDelegationBinder.Record> records)Creates a new compiled implementation delegate for a field delegation.ForInstance(FieldDescription fieldDescription)Creates an argument loader that supplies the value of a static field as an argument. -
Uses of FieldDescription in net.bytebuddy.implementation.attribute
Methods in net.bytebuddy.implementation.attribute with parameters of type FieldDescription Modifier and Type Method Description voidFieldAttributeAppender. apply(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter)Applies this attribute appender to a given field visitor.voidFieldAttributeAppender.Compound. apply(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter)voidFieldAttributeAppender.Explicit. apply(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter)voidFieldAttributeAppender.ForInstrumentedField. apply(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter)voidFieldAttributeAppender.NoOp. apply(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter)AnnotationValueFilterAnnotationValueFilter.Default. on(FieldDescription fieldDescription)AnnotationValueFilterAnnotationValueFilter.Factory. on(FieldDescription fieldDescription)Creates an annotation value filter for writing annotations on a field. -
Uses of FieldDescription in net.bytebuddy.implementation.bind.annotation
Methods in net.bytebuddy.implementation.bind.annotation with parameters of type FieldDescription Modifier and Type Method Description DynamicType.Builder<?>FieldProxy.Binder.FieldResolver. apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory)Applies this field resolver to a dynamic type.DynamicType.Builder<?>FieldProxy.Binder.FieldResolver.ForGetter. apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory)DynamicType.Builder<?>FieldProxy.Binder.FieldResolver.ForGetterSetterPair. apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory)DynamicType.Builder<?>FieldProxy.Binder.FieldResolver.ForSetter. apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory)DynamicType.Builder<?>FieldProxy.Binder.FieldResolver.Unresolved. apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory)protected MethodDelegationBinder.ParameterBinding<?>FieldProxy.Binder. bind(FieldDescription fieldDescription, AnnotationDescription.Loadable<FieldProxy> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner)protected MethodDelegationBinder.ParameterBinding<?>FieldValue.Binder.Delegate. bind(FieldDescription fieldDescription, AnnotationDescription.Loadable<FieldValue> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner)protected abstract MethodDelegationBinder.ParameterBinding<?>TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFieldBinding. bind(FieldDescription fieldDescription, AnnotationDescription.Loadable<S> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner)Creates a parameter binding for the given target parameter.FieldProxy.Binder.FieldResolverFieldProxy.Binder.FieldResolver.Factory.Duplex. resolve(TypeDescription parameterType, FieldDescription fieldDescription)FieldProxy.Binder.FieldResolverFieldProxy.Binder.FieldResolver.Factory. resolve(TypeDescription parameterType, FieldDescription fieldDescription)Creates a field resolver.FieldProxy.Binder.FieldResolverFieldProxy.Binder.FieldResolver.Factory.Simplex. resolve(TypeDescription parameterType, FieldDescription fieldDescription)Constructors in net.bytebuddy.implementation.bind.annotation with parameters of type FieldDescription Constructor Description AccessorProxy(FieldDescription fieldDescription, TypeDescription instrumentedType, FieldProxy.Binder.FieldResolver fieldResolver, Assigner assigner, boolean serializableProxy)FieldGetter(FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory)Creates a new getter implementation.FieldSetter(FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory)Creates a new setter implementation. -
Uses of FieldDescription in net.bytebuddy.implementation.bytecode.member
Methods in net.bytebuddy.implementation.bytecode.member with parameters of type FieldDescription Modifier and Type Method Description static FieldAccess.DefinedFieldAccess. forField(FieldDescription fieldDescription)Creates a field access representation for a given field.protected static FieldAccess.DefinedFieldAccess.OfGenericField. of(FieldDescription fieldDescription, FieldAccess.Defined fieldAccess)Creates a generic access dispatcher for a given field. -
Uses of FieldDescription in net.bytebuddy.matcher
Classes in net.bytebuddy.matcher with type parameters of type FieldDescription Modifier and Type Class Description classFieldTypeMatcher<T extends FieldDescription>An element matcher that matches a field's type.Methods in net.bytebuddy.matcher with type parameters of type FieldDescription Modifier and Type Method Description static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. anyOf(java.lang.reflect.Field... value)Creates a matcher that matches any of the given fields asFieldDescriptions by theObject.equals(Object)method.static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. definedField(ElementMatcher<? super FieldDescription.InDefinedShape> matcher)Matches a field in its defined shape.static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. fieldType(java.lang.Class<?> fieldType)Matches a field's raw type against the provided matcher.static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. fieldType(TypeDescription fieldType)Matches a field's raw type against the provided matcher.static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. fieldType(ElementMatcher<? super TypeDescription> matcher)Matches a field's raw type against the provided matcher.static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. genericFieldType(java.lang.reflect.Type fieldType)Matches a field's generic type against the provided matcher.static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. genericFieldType(TypeDescription.Generic fieldType)Matches a field's generic type against the provided matcher.static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. genericFieldType(ElementMatcher<? super TypeDescription.Generic> matcher)Matches a field's generic type against the provided matcher.static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. is(java.lang.reflect.Field field)Exactly matches a given field as aFieldDescriptionin its defined shape.static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. is(FieldDescription.InDefinedShape field)Exactly matches a given field as aFieldDescriptionin its defined shape.static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. isTransient()Matches atransientfield.static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. isVolatile()Matches avolatilefield.static <T extends FieldDescription>
ElementMatcher.Junction<T>ElementMatchers. noneOf(java.lang.reflect.Field... value)Creates a matcher that matches none of the given methods asFieldDescriptions by theObject.equals(Object)method.Methods in net.bytebuddy.matcher that return types with arguments of type FieldDescription Modifier and Type Method Description ElementMatcher<? super FieldDescription>LatentMatcher.ForFieldToken. resolve(TypeDescription typeDescription)Methods in net.bytebuddy.matcher with parameters of type FieldDescription Modifier and Type Method Description booleanLatentMatcher.ForFieldToken.ResolvedMatcher. matches(FieldDescription target)Method parameters in net.bytebuddy.matcher with type arguments of type FieldDescription Modifier and Type Method Description static <T extends TypeDefinition>
ElementMatcher.Junction<T>ElementMatchers. declaresField(ElementMatcher<? super FieldDescription> matcher)Matches a type by a another matcher that is applied on any of its declared fields.Constructor parameters in net.bytebuddy.matcher with type arguments of type FieldDescription Constructor Description DeclaringFieldMatcher(ElementMatcher<? super FieldList<? extends FieldDescription>> matcher)Creates a new matcher for a type's declared fields. -
Uses of FieldDescription in net.bytebuddy.utility
Methods in net.bytebuddy.utility with parameters of type FieldDescription Modifier and Type Method Description static JavaConstant.MethodTypeJavaConstant.MethodType. ofGetter(FieldDescription fieldDescription)Returns a method type for a getter of the given field.static JavaConstant.MethodTypeJavaConstant.MethodType. ofSetter(FieldDescription fieldDescription)Returns a method type for a setter of the given field.
-