Uses of Interface
net.bytebuddy.description.annotation.AnnotationDescription
Packages that use AnnotationDescription
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
Contains descriptions of annotations and annotation values.
Contains descriptions of Java fields.
Contains descriptions of Java methods and constructors as well as their parameters.
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.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.
Contains an API for matching Java byte code entities.
Classes of this package allow for the creating
TypeDescription
s without
loading any classes.-
Uses of AnnotationDescription in net.bytebuddy.asm
Methods in net.bytebuddy.asm with parameters of type AnnotationDescriptionModifier and TypeMethodDescriptionMemberAttributeExtension.ForField.annotate
(AnnotationDescription... annotation) Appends the supplied annotations.MemberAttributeExtension.ForMethod.annotateMethod
(AnnotationDescription... annotation) Appends the supplied annotations.MemberAttributeExtension.ForMethod.annotateParameter
(int index, AnnotationDescription... annotation) Appends the supplied annotations to the parameter at the given index.Method parameters in net.bytebuddy.asm with type arguments of type AnnotationDescriptionModifier and TypeMethodDescriptionMemberAttributeExtension.ForField.annotate
(Collection<? extends AnnotationDescription> annotations) Appends the supplied annotations.MemberAttributeExtension.ForMethod.annotateMethod
(Collection<? extends AnnotationDescription> annotations) Appends the supplied annotations.MemberAttributeExtension.ForMethod.annotateParameter
(int index, Collection<? extends AnnotationDescription> annotations) Appends the supplied annotations to the parameter at the given index.Advice.AssignReturned.Factory.make
(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.Advice.PostProcessor.Factory.Compound.make
(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.Advice.PostProcessor.Factory.make
(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.Advice.PostProcessor.NoOp.make
(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method. -
Uses of AnnotationDescription in net.bytebuddy.description.annotation
Subinterfaces of AnnotationDescription in net.bytebuddy.description.annotationModifier and TypeInterfaceDescriptionstatic interface
AnnotationDescription.Loadable<S extends Annotation>
An annotation description that is linked to a given loaded annotation type which allows its representation as a fully loaded instance.Classes in net.bytebuddy.description.annotation that implement AnnotationDescriptionModifier and TypeClassDescriptionstatic class
An adapter implementation of an annotation.static class
A description of an already loaded annotation.static class
A latent description of an annotation value that is defined explicitly.protected class
AnnotationDescription.Latent.Loadable<S extends Annotation>
A loadable annotation description of a latent annotation description.Fields in net.bytebuddy.description.annotation declared as AnnotationDescriptionModifier and TypeFieldDescriptionprivate final AnnotationDescription
AnnotationValue.ForAnnotationDescription.annotationDescription
The annotation description that this value represents.Fields in net.bytebuddy.description.annotation with type parameters of type AnnotationDescriptionModifier and TypeFieldDescriptionprivate final List
<? extends AnnotationDescription> AnnotationList.Explicit.annotationDescriptions
The list of represented annotation descriptions.private final List
<? extends AnnotationDescription> AnnotationSource.Explicit.annotations
The represented annotations.Methods in net.bytebuddy.description.annotation that return AnnotationDescriptionModifier and TypeMethodDescriptionAnnotationDescription.Builder.build()
Creates an annotation description for the values that were defined for this builder.AnnotationDescription.Builder.build
(boolean validated) Creates an annotation description for the values that were defined for this builder.AnnotationList.Explicit.get
(int index) AnnotationList.ForLoadedAnnotations.get
(int index) AnnotationList.AbstractBase.ofType
(TypeDescription annotationType) Finds the first annotation of the given type and returns it.AnnotationList.Empty.ofType
(TypeDescription annotationType) Finds the first annotation of the given type and returns it.AnnotationList.ofType
(TypeDescription annotationType) Finds the first annotation of the given type and returns it.AnnotationValue.ForAnnotationDescription.resolve()
Resolves the unloaded value of this annotation.Methods in net.bytebuddy.description.annotation that return types with arguments of type AnnotationDescriptionModifier and TypeMethodDescriptionAnnotationValue.ForAnnotationDescription.filter
(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.static <V extends Annotation>
AnnotationValue<AnnotationDescription, V> AnnotationValue.ForAnnotationDescription.of
(TypeDescription annotationType, Map<String, ? extends AnnotationValue<?, ?>> annotationValues) Creates an annotation value instance for describing the given annotation type and values.Methods in net.bytebuddy.description.annotation with parameters of type AnnotationDescriptionModifier and TypeMethodDescriptionAnnotationDescription.Builder.define
(String property, AnnotationDescription annotationDescription) Returns a builder with the additional annotation property.AnnotationDescription.Builder.defineAnnotationArray
(String property, TypeDescription annotationType, AnnotationDescription... annotationDescription) Returns a builder with the additional annotation array property.static <W extends Annotation>
AnnotationValue<AnnotationDescription[], W[]> AnnotationValue.ForDescriptionArray.of
(TypeDescription annotationType, AnnotationDescription[] annotationDescription) Creates a new complex array of annotation descriptions.Method parameters in net.bytebuddy.description.annotation with type arguments of type AnnotationDescriptionModifier and TypeMethodDescriptionstatic List
<AnnotationList> AnnotationList.Explicit.asList
(List<? extends List<? extends AnnotationDescription>> annotations) Creates a list of annotation lists for a given multidimensional list of annotation descriptions.protected AnnotationList
AnnotationList.AbstractBase.wrap
(List<AnnotationDescription> values) Constructors in net.bytebuddy.description.annotation with parameters of type AnnotationDescriptionModifierConstructorDescriptionExplicit
(AnnotationDescription... annotationDescription) Creates a new list of annotation descriptions.Explicit
(AnnotationDescription... annotation) Creates a new explicit annotation source.ForAnnotationDescription
(AnnotationDescription annotationDescription) Creates a new annotation value for a given annotation description.Constructor parameters in net.bytebuddy.description.annotation with type arguments of type AnnotationDescriptionModifierConstructorDescriptionExplicit
(List<? extends AnnotationDescription> annotationDescriptions) Creates a new list of annotation descriptions.Explicit
(List<? extends AnnotationDescription> annotations) Creates a new explicit annotation source. -
Uses of AnnotationDescription in net.bytebuddy.description.field
Fields in net.bytebuddy.description.field with type parameters of type AnnotationDescriptionModifier and TypeFieldDescriptionprivate final List
<? extends AnnotationDescription> FieldDescription.Token.annotations
The annotations of the represented field.private final List
<? extends AnnotationDescription> FieldDescription.Latent.declaredAnnotations
The annotations of this field.Constructor parameters in net.bytebuddy.description.field with type arguments of type AnnotationDescriptionModifierConstructorDescriptionLatent
(TypeDescription declaringType, String name, int modifiers, TypeDescription.Generic fieldType, List<? extends AnnotationDescription> declaredAnnotations) Creates a new latent field description.Token
(String name, int modifiers, TypeDescription.Generic type, List<? extends AnnotationDescription> annotations) Creates a new field token. -
Uses of AnnotationDescription in net.bytebuddy.description.method
Fields in net.bytebuddy.description.method with type parameters of type AnnotationDescriptionModifier and TypeFieldDescriptionprivate final List
<? extends AnnotationDescription> MethodDescription.Token.annotations
The annotations of the represented method.private final List
<? extends AnnotationDescription> ParameterDescription.Token.annotations
A list of parameter annotations.private final List
<? extends AnnotationDescription> MethodDescription.Latent.declaredAnnotations
The annotations of this method.private final List
<? extends AnnotationDescription> ParameterDescription.Latent.declaredAnnotations
The annotations of the parameter.Methods in net.bytebuddy.description.method with parameters of type AnnotationDescriptionModifier and TypeMethodDescriptionprivate static boolean
MethodDescription.AbstractBase.isAnnotationType
(TypeDescription annotationType, AnnotationDescription... annotationDescription) Checks if the supplied enumeration descriptions describe the correct annotation type.Constructor parameters in net.bytebuddy.description.method with type arguments of type AnnotationDescriptionModifierConstructorDescriptionLatent
(MethodDescription.InDefinedShape declaringMethod, TypeDescription.Generic parameterType, List<? extends AnnotationDescription> declaredAnnotations, String name, Integer modifiers, int index, int offset) Creates a latent parameter description.Token
(TypeDescription.Generic type, List<? extends AnnotationDescription> annotations) Creates a new parameter token without an explicit name or an explicit modifier.Token
(TypeDescription.Generic type, List<? extends AnnotationDescription> annotations, String name, Integer modifiers) Creates a new parameter token. -
Uses of AnnotationDescription in net.bytebuddy.description.type
Fields in net.bytebuddy.description.type with type parameters of type AnnotationDescriptionModifier and TypeFieldDescriptionprivate final List
<? extends AnnotationDescription> RecordComponentDescription.Latent.annotations
The record component's annotations.private final List
<? extends AnnotationDescription> RecordComponentDescription.Token.annotations
The token's annotations.protected final List
<? extends AnnotationDescription> TypeDescription.Generic.Builder.annotations
The type annotations of the current annotated type.private final List
<? extends AnnotationDescription> TypeVariableToken.annotations
The annotations of the type variable.Methods in net.bytebuddy.description.type with parameters of type AnnotationDescriptionModifier and TypeMethodDescriptionTypeDescription.Generic.Builder.annotate
(AnnotationDescription... annotation) Defines type annotations to be declared by the current type.TypeDescription.Generic.Builder.asWildcardLowerBound
(AnnotationDescription... annotation) Transforms this type into the lower bound of a wildcard type.TypeDescription.Generic.Builder.asWildcardUpperBound
(AnnotationDescription... annotation) Transforms this type into the upper bound of a wildcard type.TypeDescription.Generic.Builder.build
(AnnotationDescription... annotation) Finalizes the build and finalizes the created type as a generic type description.static TypeDescription.Generic
TypeDescription.Generic.Builder.unboundWildcard
(AnnotationDescription... annotation) Creates an unbound wildcard.Method parameters in net.bytebuddy.description.type with type arguments of type AnnotationDescriptionModifier and TypeMethodDescriptionTypeDescription.Generic.Builder.annotate
(Collection<? extends AnnotationDescription> annotations) Defines type annotations to be declared by the current type.TypeDescription.Generic.Builder.asWildcardLowerBound
(Collection<? extends AnnotationDescription> annotations) Transforms this type into the lower bound of a wildcard type.TypeDescription.Generic.Builder.asWildcardUpperBound
(Collection<? extends AnnotationDescription> annotations) Transforms this type into the upper bound of a wildcard type.TypeDescription.Generic.Builder.build
(Collection<? extends AnnotationDescription> annotations) Finalizes the build and finalizes the created type as a generic type description.protected abstract TypeDescription.Generic.Builder
TypeDescription.Generic.Builder.doAnnotate
(List<? extends AnnotationDescription> annotations) Creates a new builder for the current type and the applied type annotations.protected TypeDescription.Generic.Builder
TypeDescription.Generic.Builder.OfGenericArrayType.doAnnotate
(List<? extends AnnotationDescription> annotations) protected TypeDescription.Generic.Builder
TypeDescription.Generic.Builder.OfNonGenericType.doAnnotate
(List<? extends AnnotationDescription> annotations) protected TypeDescription.Generic.Builder
TypeDescription.Generic.Builder.OfParameterizedType.doAnnotate
(List<? extends AnnotationDescription> annotations) protected TypeDescription.Generic.Builder
TypeDescription.Generic.Builder.OfTypeVariable.doAnnotate
(List<? extends AnnotationDescription> annotations) static TypeDescription.Generic
TypeDescription.Generic.Builder.unboundWildcard
(Collection<? extends AnnotationDescription> annotations) Creates an unbound wildcard.Constructor parameters in net.bytebuddy.description.type with type arguments of type AnnotationDescriptionModifierConstructorDescriptionprotected
Builder
(List<? extends AnnotationDescription> annotations) Creates a new builder for a generic type description.Latent
(TypeDescription declaringType, String name, TypeDescription.Generic type, List<? extends AnnotationDescription> annotations) Creates a new latent record component.protected
OfGenericArrayType
(TypeDescription.Generic componentType, List<? extends AnnotationDescription> annotations) Creates a type builder for building a generic array type.protected
OfNonGenericType
(TypeDescription typeDescription, TypeDescription.Generic ownerType, List<? extends AnnotationDescription> annotations) Creates a builder for a non-generic type.protected
OfTypeVariable
(String symbol, List<? extends AnnotationDescription> annotations) Creates a new builder for a symbolic type variable.Token
(String name, TypeDescription.Generic type, List<? extends AnnotationDescription> annotations) Creates a new record component token. -
Uses of AnnotationDescription in net.bytebuddy.dynamic
Methods in net.bytebuddy.dynamic with parameters of type AnnotationDescriptionModifier and TypeMethodDescriptionDynamicType.Builder.FieldDefinition.annotateField
(AnnotationDescription... annotation) Annotates the previously defined or matched field with the supplied annotations.DynamicType.Builder.FieldDefinition.Optional.AbstractBase.annotateField
(AnnotationDescription... annotation) Annotates the previously defined or matched field with the supplied annotations.DynamicType.Builder.MethodDefinition.AbstractBase.annotateMethod
(AnnotationDescription... annotation) Annotates the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition.annotateMethod
(AnnotationDescription... annotation) Annotates the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition.AbstractBase.annotateParameter
(int index, AnnotationDescription... annotation) Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition.annotateParameter
(int index, AnnotationDescription... annotation) Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.annotateParameter
(AnnotationDescription... annotation) Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.annotateParameter
(AnnotationDescription... annotation) Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.annotateParameter
(AnnotationDescription... annotation) Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.annotateParameter
(AnnotationDescription... annotation) Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.RecordComponentDefinition.annotateRecordComponent
(AnnotationDescription... annotation) Annotates the record component with the supplied annotations.DynamicType.Builder.RecordComponentDefinition.Optional.AbstractBase.annotateRecordComponent
(AnnotationDescription... annotation) Annotates the record component with the supplied annotations.DynamicType.Builder.AbstractBase.annotateType
(AnnotationDescription... annotation) Annotates the instrumented type with the supplied annotations.DynamicType.Builder.annotateType
(AnnotationDescription... annotation) Annotates the instrumented type with the supplied annotations.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.annotateTypeVariable
(AnnotationDescription... annotation) Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.annotateTypeVariable
(AnnotationDescription... annotation) Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.TypeVariableDefinition.AbstractBase.annotateTypeVariable
(AnnotationDescription... annotation) Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.TypeVariableDefinition.annotateTypeVariable
(AnnotationDescription... annotation) Annotates the previously defined type variable with the supplied annotations.Method parameters in net.bytebuddy.dynamic with type arguments of type AnnotationDescriptionModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.Adapter.FieldDefinitionAdapter.annotateField
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined or matched field with the supplied annotations.DynamicType.Builder.AbstractBase.Adapter.FieldMatchAdapter.annotateField
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined or matched field with the supplied annotations.DynamicType.Builder.FieldDefinition.annotateField
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined or matched field with the supplied annotations.DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.annotateMethod
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined or matched method with the supplied annotations.DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.annotateMethod
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition.annotateMethod
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined or matched method with the supplied annotations.DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.annotateParameter
(int index, Collection<? extends AnnotationDescription> annotations) Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations.DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.ParameterAnnotationAdapter.annotateParameter
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.SimpleParameterAnnotationAdapter.annotateParameter
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.annotateParameter
(int index, Collection<? extends AnnotationDescription> annotations) Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition.annotateParameter
(int index, Collection<? extends AnnotationDescription> annotations) Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.annotateParameter
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.annotateParameter
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.AbstractBase.Adapter.RecordComponentDefinitionAdapter.annotateRecordComponent
(Collection<? extends AnnotationDescription> annotations) Annotates the record component with the supplied annotations.DynamicType.Builder.AbstractBase.Adapter.RecordComponentMatchAdapter.annotateRecordComponent
(Collection<? extends AnnotationDescription> annotations) Annotates the record component with the supplied annotations.DynamicType.Builder.RecordComponentDefinition.annotateRecordComponent
(Collection<? extends AnnotationDescription> annotations) Annotates the record component with the supplied annotations.DynamicType.Builder.AbstractBase.Adapter.annotateType
(Collection<? extends AnnotationDescription> annotations) Annotates the instrumented type with the supplied annotations.DynamicType.Builder.AbstractBase.Delegator.annotateType
(Collection<? extends AnnotationDescription> annotations) Annotates the instrumented type with the supplied annotations.DynamicType.Builder.annotateType
(Collection<? extends AnnotationDescription> annotations) Annotates the instrumented type with the supplied annotations.DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.TypeVariableAnnotationAdapter.annotateTypeVariable
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.AbstractBase.Adapter.TypeVariableDefinitionAdapter.annotateTypeVariable
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.annotateTypeVariable
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.TypeVariableDefinition.annotateTypeVariable
(Collection<? extends AnnotationDescription> annotations) Annotates the previously defined type variable with the supplied annotations. -
Uses of AnnotationDescription in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold with type parameters of type AnnotationDescriptionModifier and TypeFieldDescriptionprivate final List
<? extends AnnotationDescription> InstrumentedType.Default.annotationDescriptions
A list of annotations of the annotated type.Method parameters in net.bytebuddy.dynamic.scaffold with type arguments of type AnnotationDescriptionModifier and TypeMethodDescriptionInstrumentedType.Default.withAnnotations
(List<? extends AnnotationDescription> annotationDescriptions) Creates a new instrumented type with the given annotations.InstrumentedType.Frozen.withAnnotations
(List<? extends AnnotationDescription> annotationDescriptions) Creates a new instrumented type with the given annotations.InstrumentedType.withAnnotations
(List<? extends AnnotationDescription> annotationDescriptions) Creates a new instrumented type with the given annotations.InstrumentedType.WithFlexibleName.withAnnotations
(List<? extends AnnotationDescription> annotationDescriptions) Creates a new instrumented type with the given annotations. -
Uses of AnnotationDescription in net.bytebuddy.dynamic.scaffold.inline
Method parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type AnnotationDescriptionModifier and TypeMethodDescriptionDecoratingDynamicTypeBuilder.annotateType
(Collection<? extends AnnotationDescription> annotations) Annotates the instrumented type with the supplied annotations. -
Uses of AnnotationDescription in net.bytebuddy.implementation.attribute
Fields in net.bytebuddy.implementation.attribute with type parameters of type AnnotationDescriptionModifier and TypeFieldDescriptionprivate final List
<? extends AnnotationDescription> FieldAttributeAppender.Explicit.annotations
The annotations that this appender appends.private final List
<? extends AnnotationDescription> MethodAttributeAppender.Explicit.annotations
the annotations this method attribute appender is writing to its target.private final List
<? extends AnnotationDescription> RecordComponentAttributeAppender.Explicit.annotations
The annotations that this appender appends.private final List
<? extends AnnotationDescription> TypeAttributeAppender.Explicit.annotations
The annotations to write to the given type.Methods in net.bytebuddy.implementation.attribute with parameters of type AnnotationDescriptionModifier and TypeMethodDescriptionAnnotationAppender.append
(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter) Writes the given annotation to the target that this appender represents.AnnotationAppender.append
(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter, int typeReference, String typePath) Writes the given type annotation to the target that this appender represents.AnnotationAppender.Default.append
(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter) Writes the given annotation to the target that this appender represents.AnnotationAppender.Default.append
(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter, int typeReference, String typePath) Writes the given type annotation to the target that this appender represents.private void
AnnotationAppender.Default.doAppend
(AnnotationDescription annotation, boolean visible, AnnotationValueFilter annotationValueFilter) Tries to append a given annotation by reflectively reading an annotation.private void
AnnotationAppender.Default.doAppend
(AnnotationDescription annotation, boolean visible, AnnotationValueFilter annotationValueFilter, int typeReference, String typePath) Tries to append a given annotation by reflectively reading an annotation.private static void
AnnotationAppender.Default.handle
(org.objectweb.asm.AnnotationVisitor annotationVisitor, AnnotationDescription annotation, AnnotationValueFilter annotationValueFilter) Handles the writing of a single annotation to an annotation visitor.boolean
AnnotationValueFilter.isRelevant
(AnnotationDescription annotationDescription, MethodDescription.InDefinedShape methodDescription) Checks if the given annotation value should be written as the value of the provided annotation property.Constructor parameters in net.bytebuddy.implementation.attribute with type arguments of type AnnotationDescriptionModifierConstructorDescriptionExplicit
(List<? extends AnnotationDescription> annotations) Creates a new annotation attribute appender for explicit annotation values.Explicit
(int parameterIndex, List<? extends AnnotationDescription> annotations) Creates a new appender for appending an annotation to a method.Explicit
(List<? extends AnnotationDescription> annotations) Creates a new appender for appending an annotation to a method.protected
Explicit
(MethodAttributeAppender.Explicit.Target target, List<? extends AnnotationDescription> annotations) Creates an explicit annotation appender for a either a method or one of its parameters..Explicit
(List<? extends AnnotationDescription> annotations) Creates a new annotation attribute appender for explicit annotation values.Explicit
(List<? extends AnnotationDescription> annotations) Creates a new annotation attribute appender for explicit annotation values. -
Uses of AnnotationDescription in net.bytebuddy.implementation.bind.annotation
Methods in net.bytebuddy.implementation.bind.annotation with parameters of type AnnotationDescriptionModifier and TypeMethodDescriptionprotected static TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound.of
(ParameterDescription target, TargetMethodAnnotationDrivenBinder.ParameterBinder<?> parameterBinder, AnnotationDescription annotation, Assigner.Typing typing) Creates a handler for a given annotation. -
Uses of AnnotationDescription in net.bytebuddy.matcher
Classes in net.bytebuddy.matcher with type parameters of type AnnotationDescriptionModifier and TypeClassDescriptionclass
AnnotationTargetMatcher<T extends AnnotationDescription>
A matcher for annotations that target a given element type.class
AnnotationTypeMatcher<T extends AnnotationDescription>
An element matcher that matches the type of an annotation description.Methods in net.bytebuddy.matcher with type parameters of type AnnotationDescriptionModifier and TypeMethodDescriptionstatic <T extends AnnotationDescription>
ElementMatcher.Junction<T> ElementMatchers.annotationType
(Class<? extends Annotation> type) Matches if an annotation is of a given type.static <T extends AnnotationDescription>
ElementMatcher.Junction<T> ElementMatchers.annotationType
(TypeDescription type) Matches if an annotation is of a given type.static <T extends AnnotationDescription>
ElementMatcher.Junction<T> ElementMatchers.annotationType
(ElementMatcher<? super TypeDescription> matcher) Matches if an annotation's type matches the supplied matcher.static <T extends AnnotationDescription>
ElementMatcher.Junction<T> ElementMatchers.anyOf
(Annotation... value) Creates a matcher that matches any of the given annotations asAnnotationDescription
s by theObject.equals(Object)
method.static <T extends AnnotationDescription>
ElementMatcher.Junction<T> ElementMatchers.is
(Annotation annotation) Exactly matches a given annotation as anAnnotationDescription
.static <T extends AnnotationDescription>
ElementMatcher.Junction<T> ElementMatchers.noneOf
(Annotation... value) Creates a matcher that matches none of the given annotations asAnnotationDescription
s by theObject.equals(Object)
method.static <T extends AnnotationDescription>
ElementMatcher.Junction<T> ElementMatchers.targetsElement
(ElementType elementType) Matches if an annotation can target a given element type.Method parameters in net.bytebuddy.matcher with type arguments of type AnnotationDescriptionModifier and TypeMethodDescriptionstatic <T extends AnnotationSource>
ElementMatcher.Junction<T> ElementMatchers.declaresAnnotation
(ElementMatcher<? super AnnotationDescription> matcher) Matches anAnnotationSource
to declare any annotation that matches the given matcher.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.hasAnnotation
(ElementMatcher<? super AnnotationDescription> matcher) Matches a list of annotations by a given matcher on a type that declared these annotations or inherited them from its super classes. -
Uses of AnnotationDescription in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement AnnotationDescriptionModifier and TypeClassDescriptionprivate static class
A lazy description of an annotation that looks up types from a type pool when required.private static class
A loadable version of a lazy annotation description.Fields in net.bytebuddy.pool declared as AnnotationDescriptionModifier and TypeFieldDescriptionprivate final AnnotationDescription
TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Simple.annotationDescription
The represented annotation description.Methods in net.bytebuddy.pool that return AnnotationDescriptionModifier and TypeMethodDescriptionTypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Illegal.resolve()
Returns the resolved annotation.TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.resolve()
Returns the resolved annotation.TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Simple.resolve()
Returns the resolved annotation.Methods in net.bytebuddy.pool that return types with arguments of type AnnotationDescriptionModifier and TypeMethodDescriptionprotected AnnotationValue
<AnnotationDescription, Annotation> TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForAnnotationValue.doResolve()
Constructors in net.bytebuddy.pool with parameters of type AnnotationDescriptionModifierConstructorDescriptionprotected
Simple
(AnnotationDescription annotationDescription) Creates a new simple resolution.Constructor parameters in net.bytebuddy.pool with type arguments of type AnnotationDescriptionModifierConstructorDescriptionprivate
UnresolvedAnnotationList
(List<? extends AnnotationDescription> annotationDescriptions, List<? extends TypePool.Default.LazyTypeDescription.AnnotationToken> tokens) Creates a list of unresolved annotations.