Uses of Interface
net.bytebuddy.description.field.FieldDescription
Packages that use FieldDescription
Package
Description
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.
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type.The implementation package contains any logic for intercepting method calls.
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e.
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.
StackManipulations 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
TypeDescriptions without
loading any classes.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 FieldDescriptionModifier and TypeFieldDescriptionprivate final FieldDescriptionAdvice.OffsetMapping.ForField.Resolved.Factory.fieldDescriptionThe field to be bound.private final FieldDescriptionAdvice.OffsetMapping.ForField.Resolved.fieldDescriptionThe accessed field.private final FieldDescriptionAdvice.OffsetMapping.ForFieldHandle.Resolved.Factory.fieldDescriptionThe field to be bound.private final FieldDescriptionAdvice.OffsetMapping.ForFieldHandle.Resolved.fieldDescriptionThe accessed field.protected final FieldDescriptionAdvice.OffsetMapping.Target.ForField.fieldDescriptionThe field value to load.private final FieldDescriptionAdvice.OffsetMapping.Target.ForField.WriteOnly.fieldDescriptionThe field value to load.private final FieldDescriptionMemberAttributeExtension.ForField.FieldAttributeVisitor.fieldDescriptionThe field to add annotations to.private final FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved.Factory.fieldDescriptionThe field being accessed.private final FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved.fieldDescriptionA description of the field being accessed.private final FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Resolved.Factory.fieldDescriptionThe field being accessed.private final FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Resolved.fieldDescriptionThe field that is being accessed.protected final FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForField.fieldDescriptionThe field description accessed in this step.private final FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForField.Read.Factory.fieldDescriptionA description of the field being read.private final FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForField.Write.Factory.fieldDescriptionA description of the field to write to.private final FieldDescriptionMemberSubstitution.Substitution.ForFieldAccess.FieldResolver.Simple.fieldDescriptionThe field to access.private final FieldDescriptionMemberSubstitution.Substitution.ForFieldAccess.OfGivenField.fieldDescriptionThe field to substitute with.Fields in net.bytebuddy.asm with type parameters of type FieldDescriptionModifier and TypeFieldDescriptionprivate final ElementMatcher<? super FieldDescription> MemberSubstitution.Replacement.ForElementMatchers.Factory.fieldMatcherThe field matcher to consider when discovering fields.private final ElementMatcher<? super FieldDescription> MemberSubstitution.Replacement.ForElementMatchers.fieldMatcherThe field matcher to consider when discovering fields.private final ElementMatcher<? super FieldDescription> MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.ForElementMatcher.matcherThe matcher to use for locating the field to substitute with.private final ElementMatcher<? super FieldDescription> MemberSubstitution.Substitution.ForFieldAccess.OfMatchedField.matcherThe matcher to apply.private final ElementMatcher<? super FieldDescription> MemberSubstitution.WithoutSpecification.ForMatchedField.matcherA matcher for any field that should be substituted.Methods in net.bytebuddy.asm that return FieldDescriptionModifier and TypeMethodDescriptionprotected abstract FieldDescriptionAdvice.OffsetMapping.ForField.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the field being bound.protected FieldDescriptionAdvice.OffsetMapping.ForField.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected FieldDescriptionAdvice.OffsetMapping.ForField.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected abstract FieldDescriptionAdvice.OffsetMapping.ForFieldHandle.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the field being bound.protected FieldDescriptionAdvice.OffsetMapping.ForFieldHandle.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected FieldDescriptionAdvice.OffsetMapping.ForFieldHandle.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected abstract FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a description of the field being accessed.protected FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected abstract FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a description of the field being accessed.protected FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.ForElementMatcher.resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the field to substitute with.MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the field to substitute with.MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.Simple.resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the field to substitute with.Methods in net.bytebuddy.asm with parameters of type FieldDescriptionModifier and TypeMethodDescription<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind(Class<T> type, FieldDescription fieldDescription) Binds the supplied annotation to the value of the supplied field.MemberSubstitution.Replacement.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForDynamicInvocation.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForElementMatchers.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForFirstBinding.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.NoOp.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.bind(Class<T> type, FieldDescription fieldDescription) Binds the supplied annotation to the value of the supplied field.MemberSubstitution.WithoutSpecification.replaceWith(FieldDescription fieldDescription) Replaces any interaction with a matched byte code element by an interaction with the specified field.Method parameters in net.bytebuddy.asm with type arguments of type FieldDescriptionModifier and TypeMethodDescriptionMemberSubstitution.field(ElementMatcher<? super FieldDescription> matcher) Substitutes any field access that matches the given matcher.protected static MemberSubstitution.Replacement.FactoryMemberSubstitution.Replacement.ForElementMatchers.Factory.ofField(ElementMatcher<? super FieldDescription> matcher, boolean matchFieldRead, boolean matchFieldWrite, MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> factory) Creates a factory that only matches field access for given access types.AnnotationRemoval.onFields(ElementMatcher<? super FieldDescription> matcher) Creates a visitor that only removes annotations from fields that match the specified matcher.MemberSubstitution.WithoutSpecification.replaceWithField(ElementMatcher<? super FieldDescription> matcher) Replaces any interaction with a matched byte code element with a non-static field access on the first parameter of the matched element.Constructors in net.bytebuddy.asm with parameters of type FieldDescriptionModifierConstructorDescriptionFactory(Class<T> annotationType, FieldDescription fieldDescription) Creates a new factory for binding a specific field with read-only semantics and static typing.Factory(Class<T> annotationType, FieldDescription fieldDescription, boolean readOnly, Assigner.Typing typing) Creates a new factory for binding a specific field.Factory(Class<T> annotationType, FieldDescription fieldDescription, Advice.OffsetMapping.ForFieldHandle.Access access) Creates a new factory for binding a specific field handle.Factory(Class<T> annotationType, FieldDescription fieldDescription) Creates a factory for reading a given field.Factory(Class<T> annotationType, FieldDescription fieldDescription, Assigner.Typing typing) Creates a factory for reading a given field.Factory(Class<T> annotationType, FieldDescription fieldDescription, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access access) Creates a new factory for a field access handle.Factory(FieldDescription fieldDescription) Creates a factory for a step reading a field.Factory(FieldDescription fieldDescription, int index) Creates a factory for writing to a field.privateFieldAttributeVisitor(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, FieldAttributeAppender fieldAttributeAppender, AnnotationValueFilter annotationValueFilter) Creates a new field attribute visitor.protectedForField(FieldDescription fieldDescription, StackManipulation readAssignment) Creates a new target for a field value mapping.protectedForField(FieldDescription fieldDescription, Assigner assigner, Assigner.Typing typing) Creates a new step for a field access.OfGivenField(FieldDescription fieldDescription) Creates a new factory that substitues with a given field.protectedRead(FieldDescription fieldDescription, Assigner assigner, Assigner.Typing typing) Creates a step for reading a field.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.Resolved(Advice.OffsetMapping.ForFieldHandle.Access access, FieldDescription fieldDescription) Creates a resolved offset mapping for a field handle.Resolved(TypeDescription.Generic target, Assigner.Typing typing, FieldDescription fieldDescription) Creates a resolved offset mapping for a field access.Resolved(MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access access, FieldDescription fieldDescription) Creates a resolved mapping for a field access handle.Simple(FieldDescription fieldDescription) Creates a simple field resolver.protectedWrite(FieldDescription fieldDescription, Assigner assigner, Assigner.Typing typing, int index) Creates a step for writing to a field.protectedWriteOnly(FieldDescription fieldDescription, StackManipulation writeAssignment) Creates a write-only mapping for a field value.Constructor parameters in net.bytebuddy.asm with type arguments of type FieldDescriptionModifierConstructorDescriptionprotectedFactory(ElementMatcher<? super FieldDescription> fieldMatcher, ElementMatcher<? super MethodDescription> methodMatcher, boolean matchFieldRead, boolean matchFieldWrite, boolean includeVirtualCalls, boolean includeSuperCalls, MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> substitutionFactory) Creates a new replacement that triggers a substitution based on a row of matchers.protectedForElementMatcher(TypeDescription instrumentedType, ElementMatcher<? super FieldDescription> matcher) Creates a new field resolver that locates a field on the receiver type using a matcher.protectedForElementMatchers(ElementMatcher<? super FieldDescription> fieldMatcher, ElementMatcher<? super MethodDescription> methodMatcher, boolean matchFieldRead, boolean matchFieldWrite, boolean includeVirtualCalls, boolean includeSuperCalls, MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForMember> substitution) Creates a new replacement that triggers a substitution based on a row of matchers.protectedForMatchedField(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, boolean failIfNoMatch, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super FieldDescription> matcher) Creates a new member substitution for a matched field that requires a specification for how to perform a substitution.protectedForMatchedField(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, boolean failIfNoMatch, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super FieldDescription> matcher, boolean matchRead, boolean matchWrite) Creates a new member substitution for a matched field that requires a specification for how to perform a substitution.OfMatchedField(ElementMatcher<? super FieldDescription> matcher) Creates a new substitution factory that locates a field by applying a matcher on the receiver type. -
Uses of FieldDescription in net.bytebuddy.build
Subclasses with type arguments of type FieldDescription in net.bytebuddy.buildModifier and TypeClassDescriptionprotected static classAn element matcher for aHashCodeAndEqualsPlugin.ValueHandlingannotation.Methods in net.bytebuddy.build that return types with arguments of type FieldDescriptionModifier and TypeMethodDescriptionprotected ElementMatcher<FieldDescription> HashCodeAndEqualsPlugin.nonNullable(ElementMatcher<FieldDescription> matcher) Resolves the matcher to identify non-nullable fields.protected ElementMatcher<FieldDescription> HashCodeAndEqualsPlugin.WithNonNullableFields.nonNullable(ElementMatcher<FieldDescription> matcher) Resolves the matcher to identify non-nullable fields.Methods in net.bytebuddy.build with parameters of type FieldDescriptionModifier and TypeMethodDescriptionprotected booleanHashCodeAndEqualsPlugin.ValueMatcher.doMatch(FieldDescription target) Matches the supplied value if it was found not to benull.Method parameters in net.bytebuddy.build with type arguments of type FieldDescriptionModifier and TypeMethodDescriptionprotected ElementMatcher<FieldDescription> HashCodeAndEqualsPlugin.nonNullable(ElementMatcher<FieldDescription> matcher) Resolves the matcher to identify non-nullable fields.protected ElementMatcher<FieldDescription> HashCodeAndEqualsPlugin.WithNonNullableFields.nonNullable(ElementMatcher<FieldDescription> matcher) Resolves the matcher to identify non-nullable fields. -
Uses of FieldDescription in net.bytebuddy.description.field
Classes in net.bytebuddy.description.field with type parameters of type FieldDescriptionModifier and TypeInterfaceDescriptioninterfaceFieldList<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.fieldModifier and TypeInterfaceDescriptionstatic interfaceRepresents a field in its defined shape, i.e.static interfaceRepresents a field description in its generic shape, i.e.Classes in net.bytebuddy.description.field that implement FieldDescriptionModifier and TypeClassDescriptionstatic classAn abstract base implementation of a field description.static classAn implementation of a field description for a loaded field.static classAn abstract base implementation of a field description in its defined shape.static classA latent field description describes a field that is not attached to a declaringTypeDescription.static classA field description that represents a given field but with a substituted field type.Fields in net.bytebuddy.description.field declared as FieldDescriptionModifier and TypeFieldDescriptionprivate final FieldDescriptionFieldDescription.TypeSubstituting.fieldDescriptionThe represented field.Fields in net.bytebuddy.description.field with type parameters of type FieldDescriptionModifier and TypeFieldDescriptionprivate final List<? extends FieldDescription> FieldList.TypeSubstituting.fieldDescriptionsThe field descriptions to be transformed.Constructors in net.bytebuddy.description.field with parameters of type FieldDescriptionModifierConstructorDescriptionCreates 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 FieldDescriptionModifierConstructorDescriptionTypeSubstituting(TypeDescription.Generic declaringType, 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 FieldDescriptionModifier and TypeMethodDescriptionstatic TypeList.GenericTypeList.Generic.ForDetachedTypes.attach(FieldDescription fieldDescription, List<? extends TypeDescription.Generic> detachedTypes) Creates a list of types that are attached to the provided field.TypeDescription.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 FieldDescriptionModifier and TypeClassDescriptionprotected static classAn implementation of a transformed field.Classes in net.bytebuddy.dynamic that implement interfaces with type arguments of type FieldDescriptionModifier and TypeClassDescriptionstatic classA transformer for a field that delegates to another transformer that transforms aFieldDescription.Token.Fields in net.bytebuddy.dynamic with type parameters of type FieldDescriptionModifier and TypeFieldDescriptionprivate final LatentMatcher<? super FieldDescription> DynamicType.Builder.AbstractBase.Adapter.FieldMatchAdapter.matcherThe matcher for any fields to apply this matcher to.protected final Transformer<FieldDescription> DynamicType.Builder.FieldDefinition.Optional.Valuable.AbstractBase.Adapter.transformerThe field transformer to apply.Methods in net.bytebuddy.dynamic that return FieldDescriptionModifier and TypeMethodDescriptionTransformer.ForField.transform(TypeDescription instrumentedType, FieldDescription fieldDescription) Transforms the supplied target.Methods in net.bytebuddy.dynamic that return types with arguments of type FieldDescriptionModifier and TypeMethodDescriptionstatic Transformer<FieldDescription> Transformer.ForField.withModifiers(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 FieldDescriptionModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.define(FieldDescription field) Defines a field that is similar to the supplied field but without copying any annotations on the field.DynamicType.Builder.define(FieldDescription field) Defines a field that is similar to the supplied field but without copying any annotations on the field.Transformer.ForField.transform(TypeDescription instrumentedType, FieldDescription fieldDescription) Transforms the supplied target.Method parameters in net.bytebuddy.dynamic with type arguments of type FieldDescriptionModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.Adapter.field(LatentMatcher<? super FieldDescription> matcher) Matches a field that is already declared by the instrumented type.DynamicType.Builder.AbstractBase.Delegator.field(LatentMatcher<? super FieldDescription> matcher) Matches a field that is already declared by the instrumented type.DynamicType.Builder.AbstractBase.field(ElementMatcher<? super FieldDescription> matcher) Matches a field that is already declared by the instrumented type.DynamicType.Builder.field(ElementMatcher<? super FieldDescription> matcher) Matches a field that is already declared by the instrumented type.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, Object defaultValue) protected DynamicType.Builder.FieldDefinition.Optional<U> DynamicType.Builder.AbstractBase.Adapter.FieldMatchAdapter.materialize(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, Object defaultValue) protected abstract DynamicType.Builder.FieldDefinition.Optional<V> DynamicType.Builder.FieldDefinition.Optional.Valuable.AbstractBase.Adapter.materialize(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, Object defaultValue) Creates a new optional field definition for which all of the supplied values are represented.DynamicType.Builder.FieldDefinition.Optional.Valuable.AbstractBase.Adapter.transform(Transformer<FieldDescription> transformer) Applies the supplied transformer onto the previously defined or matched field.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 FieldDescriptionModifierConstructorDescriptionprotectedAdapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, Object defaultValue) Creates a new field adapter.protectedFieldDefinitionAdapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, Object defaultValue, FieldDescription.Token token) Creates a new field definition adapter.protectedFieldMatchAdapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, Object defaultValue, LatentMatcher<? super FieldDescription> matcher) Creates a new field match adapter.protectedFieldMatchAdapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, Object defaultValue, LatentMatcher<? super FieldDescription> matcher) Creates a new field match adapter.protectedFieldMatchAdapter(LatentMatcher<? super FieldDescription> matcher) Creates a new field match adapter. -
Uses of FieldDescription in net.bytebuddy.dynamic.scaffold
Classes in net.bytebuddy.dynamic.scaffold that implement interfaces with type arguments of type FieldDescriptionModifier and TypeClassDescriptionprotected static classAn entry of a compiled field registry.protected static classAn entry of the default field registry.Fields in net.bytebuddy.dynamic.scaffold declared as FieldDescriptionModifier and TypeFieldDescriptionprivate final FieldDescriptionFieldLocator.Resolution.Simple.fieldDescriptionA description of the located field.private final FieldDescriptionTypeWriter.FieldPool.Record.ForExplicitField.fieldDescriptionThe implemented field.private final FieldDescriptionTypeWriter.FieldPool.Record.ForImplicitField.fieldDescriptionThe implemented field.Fields in net.bytebuddy.dynamic.scaffold with type parameters of type FieldDescriptionModifier and TypeFieldDescriptionprivate final LinkedHashMap<TypeWriter.Default.SignatureKey, FieldDescription> TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.declarableFieldsA mapping of fields to write by their unique signature.private final ElementMatcher<? super FieldDescription> FieldRegistry.Default.Compiled.Entry.matcherThe matcher to identify any field that this definition concerns.private final LatentMatcher<? super FieldDescription> FieldRegistry.Default.Entry.matcherThe matcher to identify any field that this definition concerns.private final Transformer<FieldDescription> FieldRegistry.Default.Compiled.Entry.transformerThe field transformer to apply to any matched field.private final Transformer<FieldDescription> FieldRegistry.Default.Entry.transformerThe field transformer to apply to any matched field.Methods in net.bytebuddy.dynamic.scaffold that return FieldDescriptionModifier and TypeMethodDescriptionFieldLocator.Resolution.getField()Returns the field description if a field was located.FieldLocator.Resolution.Illegal.getField()Returns the field description if a field was located.FieldLocator.Resolution.Simple.getField()Returns the field description if a field was located.TypeWriter.FieldPool.Record.ForExplicitField.getField()Returns the field that this record represents.TypeWriter.FieldPool.Record.ForImplicitField.getField()Returns the field that this record represents.TypeWriter.FieldPool.Record.getField()Returns the field that this record represents.Methods in net.bytebuddy.dynamic.scaffold that return types with arguments of type FieldDescriptionModifier and TypeMethodDescriptionprotected 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) Resolves the element matcher this instance represents for the supplied type description.Methods in net.bytebuddy.dynamic.scaffold with parameters of type FieldDescriptionModifier and TypeMethodDescriptionprotected 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) Matches a target against this element matcher.FieldRegistry.Compiled.NoOp.target(FieldDescription fieldDescription) Looks up a handler entry for a given field.FieldRegistry.Default.Compiled.target(FieldDescription fieldDescription) Looks up a handler entry for a given field.TypeWriter.FieldPool.Disabled.target(FieldDescription fieldDescription) Looks up a handler entry for a given field.TypeWriter.FieldPool.target(FieldDescription fieldDescription) Looks up a handler entry for a given field.Method parameters in net.bytebuddy.dynamic.scaffold with type arguments of type FieldDescriptionModifier and TypeMethodDescriptionprotected 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) FieldRegistry.Default.prepend(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Object defaultValue, Transformer<FieldDescription> transformer) Prepends the given field definition to this field registry, i.e.FieldRegistry.Default.prepend(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Object defaultValue, Transformer<FieldDescription> transformer) Prepends the given field definition to this field registry, i.e.FieldRegistry.prepend(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Object defaultValue, Transformer<FieldDescription> transformer) Prepends the given field definition to this field registry, i.e.FieldRegistry.prepend(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, 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 FieldDescriptionModifierConstructorDescriptionForExplicitField(FieldAttributeAppender attributeAppender, Object defaultValue, FieldDescription fieldDescription) Creates a record for a rich field.ForImplicitField(FieldDescription fieldDescription) Creates a new record for a simple field.protectedSimple(FieldDescription fieldDescription) Creates a new simple resolution for a field.Constructor parameters in net.bytebuddy.dynamic.scaffold with type arguments of type FieldDescriptionModifierConstructorDescriptionprotectedEntry(ElementMatcher<? super FieldDescription> matcher, FieldAttributeAppender fieldAttributeAppender, Object defaultValue, Transformer<FieldDescription> transformer) Creates a new entry.protectedEntry(ElementMatcher<? super FieldDescription> matcher, FieldAttributeAppender fieldAttributeAppender, Object defaultValue, Transformer<FieldDescription> transformer) Creates a new entry.protectedEntry(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Object defaultValue, Transformer<FieldDescription> transformer) Creates a new entry.protectedEntry(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Object defaultValue, Transformer<FieldDescription> transformer) Creates a new entry. -
Uses of FieldDescription in net.bytebuddy.dynamic.scaffold.inline
Method parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type FieldDescriptionModifier and TypeMethodDescriptionDecoratingDynamicTypeBuilder.field(LatentMatcher<? super FieldDescription> matcher) Matches a field that is already declared by the instrumented type. -
Uses of FieldDescription in net.bytebuddy.implementation
Classes in net.bytebuddy.implementation that implement FieldDescriptionModifier and TypeClassDescriptionprotected static classA description of a field that stores a cached value.Fields in net.bytebuddy.implementation declared as FieldDescriptionModifier and TypeFieldDescriptionprivate final FieldDescriptionFieldAccessor.FieldLocation.Absolute.fieldDescriptionThe field description.private final FieldDescriptionImplementation.Context.Default.FieldGetter.fieldDescriptionThe field for which a getter is described.private final FieldDescriptionImplementation.Context.Default.FieldGetterDelegation.fieldDescriptionThe field to read from.private final FieldDescriptionImplementation.Context.Default.FieldSetter.fieldDescriptionThe field for which a setter is described.private final FieldDescriptionImplementation.Context.Default.FieldSetterDelegation.fieldDescriptionThe field to write to.private final FieldDescriptionInvocationHandlerAdapter.ForField.Appender.fieldDescriptionThe field that contains the invocation handler.private final FieldDescriptionMethodCall.ArgumentLoader.ForField.ArgumentProvider.fieldDescriptionThe field being accessed.private final FieldDescriptionMethodCall.ArgumentLoader.ForField.fieldDescriptionThe field containing the loaded value.private final FieldDescriptionMethodCall.ArgumentLoader.ForInstance.fieldDescriptionThe description of the field.private final FieldDescriptionMethodCall.TargetHandler.ForField.fieldDescriptionA description of the field that is the target.private final FieldDescriptionMethodCall.TargetHandler.ForField.Location.ForExplicitField.fieldDescriptionThe field to resolve.private final FieldDescriptionMethodCall.TerminationHandler.FieldSetting.Explicit.fieldDescriptionThe matcher being used for locating a field.private final FieldDescriptionMethodCall.TerminationHandler.FieldSetting.fieldDescriptionThe field to set.private final FieldDescriptionMethodDelegation.ImplementationDelegate.Compiled.ForField.fieldDescriptionThe field to delegate to.Fields in net.bytebuddy.implementation with type parameters of type FieldDescriptionModifier and TypeFieldDescriptionprivate final ElementMatcher<? super FieldDescription> MethodCall.TerminationHandler.FieldSetting.Implicit.matcherThe matcher being used for locating a field.private final Map<FieldDescription, Implementation.Context.Default.DelegationRecord> Implementation.Context.Default.registeredGettersThe registered getters.private final Map<FieldDescription, Implementation.Context.Default.DelegationRecord> Implementation.Context.Default.registeredSettersThe registered setters.Methods in net.bytebuddy.implementation that return FieldDescriptionModifier and TypeMethodDescriptionFieldAccessor.FieldLocation.Absolute.resolve(MethodDescription instrumentedMethod) Resolves the field description to use.FieldAccessor.FieldLocation.Prepared.resolve(MethodDescription instrumentedMethod) Resolves the field description to use.FieldAccessor.FieldLocation.Relative.Prepared.resolve(MethodDescription instrumentedMethod) Resolves the field description to use.MethodCall.TargetHandler.ForField.Location.ForExplicitField.resolve(TypeDescription instrumentedType) Resolves the field to invoke the method upon.MethodCall.TargetHandler.ForField.Location.ForImplicitField.resolve(TypeDescription instrumentedType) Resolves the field to invoke the method upon.MethodCall.TargetHandler.ForField.Location.resolve(TypeDescription instrumentedType) Resolves the field to invoke the method upon.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 FieldDescriptionModifier and TypeMethodDescriptionprotected 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.FieldAccessor.of(FieldDescription fieldDescription) Defines a field accessor where the specified field is accessed.MethodCall.WithoutSpecifiedTarget.onField(FieldDescription fieldDescription) Invokes a method on the object stored in the specified field.Implementation.Context.Default.registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a getter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.Implementation.Context.Disabled.registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a getter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.MethodAccessorFactory.Illegal.registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a getter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.MethodAccessorFactory.registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a getter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.Implementation.Context.Default.registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a setter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.Implementation.Context.Disabled.registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a setter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.MethodAccessorFactory.Illegal.registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a setter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.MethodAccessorFactory.registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a setter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.protected StackManipulationFieldAccessor.ForSetter.OfConstantValue.resolve(Void unused, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfDefaultValue.resolve(Void initialized, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfFieldValue.resolve(FieldAccessor.FieldLocation.Prepared target, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfParameterValue.resolve(Void unused, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfReferenceValue.resolve(FieldDescription.InDefinedShape target, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected abstract StackManipulationFieldAccessor.ForSetter.resolve(T initialized, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.MethodCall.setsField(FieldDescription fieldDescription) Sets the result of the method call as a value of the specified field.FieldAccessor.ForImplicitProperty.setsFieldValueOf(FieldDescription fieldDescription) Defines a setter of a value that sets another field's value.FieldAccessor.PropertyConfigurable.setsFieldValueOf(FieldDescription fieldDescription) Defines a setter of a value that sets another field's value.protected ByteCodeAppenderImplementation.Context.Default.FieldCacheEntry.storeIn(FieldDescription fieldDescription) Returns a stack manipulation where the represented value is stored in the given field.Method parameters in net.bytebuddy.implementation with type arguments of type FieldDescriptionModifier and TypeMethodDescriptionMethodCall.setsField(ElementMatcher<? super FieldDescription> matcher) Sets the result of the method call as a value of the specified field.Constructors in net.bytebuddy.implementation with parameters of type FieldDescriptionModifierConstructorDescriptionprotectedAbsolute(FieldDescription fieldDescription) Creates an absolute field location.protectedAppender(FieldDescription fieldDescription) Creates a new appender.protectedArgumentProvider(FieldDescription fieldDescription) Creates a new argument provider for a field access.protectedExplicit(FieldDescription fieldDescription) Creates a factory for a field-setting termination handler.protectedFieldGetter(TypeDescription instrumentedType, FieldDescription fieldDescription, String suffix) Creates a new field getter.privateFieldGetterDelegation(MethodDescription.InDefinedShape methodDescription, Visibility visibility, FieldDescription fieldDescription) Creates a new field getter implementation.protectedFieldGetterDelegation(TypeDescription instrumentedType, String suffix, MethodAccessorFactory.AccessType accessType, FieldDescription fieldDescription) Creates a new field getter implementation.protectedFieldSetter(TypeDescription instrumentedType, FieldDescription fieldDescription, String suffix) Creates a new field setter.privateFieldSetterDelegation(MethodDescription.InDefinedShape methodDescription, Visibility visibility, FieldDescription fieldDescription) Creates a new field setter.protectedFieldSetterDelegation(TypeDescription instrumentedType, String suffix, MethodAccessorFactory.AccessType accessType, FieldDescription fieldDescription) Creates a new field setter implementation.protectedFieldSetting(FieldDescription fieldDescription) Creates a new field-setting termination handler.protectedForExplicitField(FieldDescription fieldDescription) Creates an explicit field location.ForField(FieldDescription fieldDescription, MethodDescription instrumentedMethod) Creates a new argument loader for loading an existing field.protectedForField(FieldDescription fieldDescription) Creates a new target handler for a field description.protectedForField(FieldDescription fieldDescription, 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.Constructor parameters in net.bytebuddy.implementation with type arguments of type FieldDescriptionModifierConstructorDescriptionprotectedImplicit(ElementMatcher<? super FieldDescription> matcher) Creates a factory for a field-setting termination handler. -
Uses of FieldDescription in net.bytebuddy.implementation.attribute
Methods in net.bytebuddy.implementation.attribute with parameters of type FieldDescriptionModifier and TypeMethodDescriptionvoidFieldAttributeAppender.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) Applies this attribute appender to a given field visitor.voidFieldAttributeAppender.Explicit.apply(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given field visitor.voidFieldAttributeAppender.ForInstrumentedField.apply(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given field visitor.voidFieldAttributeAppender.NoOp.apply(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given field visitor.AnnotationValueFilter.Default.on(FieldDescription fieldDescription) Creates an annotation value filter for writing annotations on a field.AnnotationValueFilter.Factory.on(FieldDescription fieldDescription) Creates an annotation value filter for writing annotations on a field. -
Uses of FieldDescription in net.bytebuddy.implementation.bind.annotation
Fields in net.bytebuddy.implementation.bind.annotation declared as FieldDescriptionModifier and TypeFieldDescriptionprivate final FieldDescriptionFieldProxy.Binder.AccessorProxy.fieldDescriptionThe field that is being accessed.private final FieldDescriptionFieldProxy.Binder.FieldGetter.fieldDescriptionThe field that is being accessed.private final FieldDescriptionFieldProxy.Binder.FieldSetter.fieldDescriptionThe field that is being accessed.private final FieldDescriptionFieldProxy.Binder.InstanceFieldConstructor.Appender.fieldDescriptionThe field to be set within the constructor.private final FieldDescriptionMorph.Binder.RedirectionProxy.InstanceFieldConstructor.Appender.fieldDescriptionThe field that carries the instance on which the super method is invoked.Methods in net.bytebuddy.implementation.bind.annotation with parameters of type FieldDescriptionModifier and TypeMethodDescriptionFieldProxy.Binder.FieldResolver.apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory) Applies this field resolver to a dynamic type.FieldProxy.Binder.FieldResolver.ForGetter.apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory) Applies this field resolver to a dynamic type.FieldProxy.Binder.FieldResolver.ForGetterSetterPair.apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory) Applies this field resolver to a dynamic type.FieldProxy.Binder.FieldResolver.ForSetter.apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory) Applies this field resolver to a dynamic type.FieldProxy.Binder.FieldResolver.Unresolved.apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory) Applies this field resolver to a dynamic type.protected MethodDelegationBinder.ParameterBinding<?> FieldGetterHandle.Binder.Delegate.bind(FieldDescription fieldDescription, AnnotationDescription.Loadable<FieldGetterHandle> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner) protected MethodDelegationBinder.ParameterBinding<?> FieldProxy.Binder.bind(FieldDescription fieldDescription, AnnotationDescription.Loadable<FieldProxy> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner) protected MethodDelegationBinder.ParameterBinding<?> FieldSetterHandle.Binder.Delegate.bind(FieldDescription fieldDescription, AnnotationDescription.Loadable<FieldSetterHandle> 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.FieldResolver.Factory.Duplex.resolve(TypeDescription parameterType, FieldDescription fieldDescription) Creates a field resolver.FieldProxy.Binder.FieldResolver.Factory.resolve(TypeDescription parameterType, FieldDescription fieldDescription) Creates a field resolver.FieldProxy.Binder.FieldResolver.Factory.Simplex.resolve(TypeDescription parameterType, FieldDescription fieldDescription) Creates a field resolver.Constructors in net.bytebuddy.implementation.bind.annotation with parameters of type FieldDescriptionModifierConstructorDescriptionprotectedAccessorProxy(FieldDescription fieldDescription, TypeDescription instrumentedType, FieldProxy.Binder.FieldResolver fieldResolver, Assigner assigner, boolean serializableProxy) protectedFieldGetter(FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory) Creates a new getter implementation.protectedFieldSetter(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 FieldDescriptionModifier and TypeMethodDescriptionstatic 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 FieldDescriptionModifier and TypeClassDescriptionclassFieldTypeMatcher<T extends FieldDescription>An element matcher that matches a field's type.Subclasses with type arguments of type FieldDescription in net.bytebuddy.matcherModifier and TypeClassDescriptionprotected static classA resolved matcher of a latent field matcher for a field token.Classes in net.bytebuddy.matcher that implement interfaces with type arguments of type FieldDescriptionModifier and TypeClassDescriptionstatic classA latent matcher where the field token is being attached to the supplied type description before matching.Methods in net.bytebuddy.matcher with type parameters of type FieldDescriptionModifier and TypeMethodDescriptionstatic <T extends FieldDescription>
ElementMatcher.Junction<T> 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> 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(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> 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> 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 FieldDescriptionModifier and TypeMethodDescriptionElementMatcher<? super FieldDescription> LatentMatcher.ForFieldToken.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.Methods in net.bytebuddy.matcher with parameters of type FieldDescriptionModifier and TypeMethodDescriptionprotected booleanLatentMatcher.ForFieldToken.ResolvedMatcher.doMatch(FieldDescription target) Matches the supplied value if it was found not to benull.Method parameters in net.bytebuddy.matcher with type arguments of type FieldDescriptionModifier and TypeMethodDescriptionstatic <T extends TypeDefinition>
ElementMatcher.Junction<T> ElementMatchers.declaresField(ElementMatcher<? super FieldDescription> matcher) Matches a type by another matcher that is applied on any of its declared fields.Constructor parameters in net.bytebuddy.matcher with type arguments of type FieldDescriptionModifierConstructorDescriptionDeclaringFieldMatcher(ElementMatcher<? super FieldList<? extends FieldDescription>> matcher) Creates a new matcher for a type's declared fields. -
Uses of FieldDescription in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement FieldDescriptionModifier and TypeClassDescriptionprivate classA lazy field description that only resolved type references when required. -
Uses of FieldDescription in net.bytebuddy.utility
Methods in net.bytebuddy.utility with parameters of type FieldDescriptionModifier and TypeMethodDescriptionstatic 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.