Uses of Interface
net.bytebuddy.description.annotation.AnnotationDescription
-
Packages that use AnnotationDescription Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.description.annotation Contains descriptions of annotations and annotation values.net.bytebuddy.description.field Contains descriptions of Java fields.net.bytebuddy.description.method Contains descriptions of Java methods and constructors as well as their parameters.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.dynamic.scaffold.inline All classes and types in this package are related to creating aDynamicType
by enhancing a given type.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.matcher Contains an API for matching Java byte code entities.net.bytebuddy.pool Classes of this package allow for the creatingTypeDescription
s without loading any classes. -
-
Uses of AnnotationDescription in net.bytebuddy.asm
Methods in net.bytebuddy.asm with parameters of type AnnotationDescription Modifier and Type Method Description MemberAttributeExtension.ForField
MemberAttributeExtension.ForField. annotate(AnnotationDescription... annotation)
Appends the supplied annotations.MemberAttributeExtension.ForMethod
MemberAttributeExtension.ForMethod. annotateMethod(AnnotationDescription... annotation)
Appends the supplied annotations.MemberAttributeExtension.ForMethod
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 AnnotationDescription Modifier and Type Method Description MemberAttributeExtension.ForField
MemberAttributeExtension.ForField. annotate(java.util.Collection<? extends AnnotationDescription> annotations)
Appends the supplied annotations.MemberAttributeExtension.ForMethod
MemberAttributeExtension.ForMethod. annotateMethod(java.util.Collection<? extends AnnotationDescription> annotations)
Appends the supplied annotations.MemberAttributeExtension.ForMethod
MemberAttributeExtension.ForMethod. annotateParameter(int index, java.util.Collection<? extends AnnotationDescription> annotations)
Appends the supplied annotations to the parameter at the given index. -
Uses of AnnotationDescription in net.bytebuddy.description.annotation
Subinterfaces of AnnotationDescription in net.bytebuddy.description.annotation Modifier and Type Interface Description static interface
AnnotationDescription.Loadable<S extends java.lang.annotation.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 AnnotationDescription Modifier and Type Class Description static class
AnnotationDescription.AbstractBase
An adapter implementation of an annotation.static class
AnnotationDescription.ForLoadedAnnotation<S extends java.lang.annotation.Annotation>
A description of an already loaded annotation.static class
AnnotationDescription.Latent
A latent description of an annotation value that is defined explicitly.protected class
AnnotationDescription.Latent.Loadable<S extends java.lang.annotation.Annotation>
A loadable annotation description of a latent annotation description.Fields in net.bytebuddy.description.annotation declared as AnnotationDescription Modifier and Type Field Description private AnnotationDescription
AnnotationValue.ForAnnotationDescription. annotationDescription
The annotation description that this value represents.Fields in net.bytebuddy.description.annotation with type parameters of type AnnotationDescription Modifier and Type Field Description private java.util.List<? extends AnnotationDescription>
AnnotationList.Explicit. annotationDescriptions
The list of represented annotation descriptions.private java.util.List<? extends AnnotationDescription>
AnnotationSource.Explicit. annotations
The represented annotations.Methods in net.bytebuddy.description.annotation that return AnnotationDescription Modifier and Type Method Description AnnotationDescription
AnnotationDescription.Builder. build()
Creates an annotation description for the values that were defined for this builder.AnnotationDescription
AnnotationDescription.Builder. build(boolean validated)
Creates an annotation description for the values that were defined for this builder.AnnotationDescription
AnnotationList.Explicit. get(int index)
AnnotationDescription
AnnotationList.ForLoadedAnnotations. get(int index)
AnnotationDescription
AnnotationList.AbstractBase. ofType(TypeDescription annotationType)
Finds the first annotation of the given type and returns it.AnnotationDescription
AnnotationList.Empty. ofType(TypeDescription annotationType)
Finds the first annotation of the given type and returns it.AnnotationDescription
AnnotationList. ofType(TypeDescription annotationType)
Finds the first annotation of the given type and returns it.AnnotationDescription
AnnotationValue.ForAnnotationDescription. resolve()
Resolves the unloaded value of this annotation.Methods in net.bytebuddy.description.annotation that return types with arguments of type AnnotationDescription Modifier and Type Method Description AnnotationValue<AnnotationDescription,U>
AnnotationValue.ForAnnotationDescription. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.static <V extends java.lang.annotation.Annotation>
AnnotationValue<AnnotationDescription,V>AnnotationValue.ForAnnotationDescription. of(TypeDescription annotationType, java.util.Map<java.lang.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 AnnotationDescription Modifier and Type Method Description AnnotationDescription.Builder
AnnotationDescription.Builder. define(java.lang.String property, AnnotationDescription annotationDescription)
Returns a builder with the additional annotation property.AnnotationDescription.Builder
AnnotationDescription.Builder. defineAnnotationArray(java.lang.String property, TypeDescription annotationType, AnnotationDescription... annotationDescription)
Returns a builder with the additional annotation array property.static <W extends java.lang.annotation.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 AnnotationDescription Modifier and Type Method Description static java.util.List<AnnotationList>
AnnotationList.Explicit. asList(java.util.List<? extends java.util.List<? extends AnnotationDescription>> annotations)
Creates a list of annotation lists for a given multidimensional list of annotation descriptions.protected AnnotationList
AnnotationList.AbstractBase. wrap(java.util.List<AnnotationDescription> values)
Constructors in net.bytebuddy.description.annotation with parameters of type AnnotationDescription Constructor Description Explicit(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 AnnotationDescription Constructor Description Explicit(java.util.List<? extends AnnotationDescription> annotationDescriptions)
Creates a new list of annotation descriptions.Explicit(java.util.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 AnnotationDescription Modifier and Type Field Description private java.util.List<? extends AnnotationDescription>
FieldDescription.Token. annotations
The annotations of the represented field.private java.util.List<? extends AnnotationDescription>
FieldDescription.Latent. declaredAnnotations
The annotations of this field.Constructor parameters in net.bytebuddy.description.field with type arguments of type AnnotationDescription Constructor Description Latent(TypeDescription declaringType, java.lang.String name, int modifiers, TypeDescription.Generic fieldType, java.util.List<? extends AnnotationDescription> declaredAnnotations)
Creates a new latent field description.Token(java.lang.String name, int modifiers, TypeDescription.Generic type, java.util.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 AnnotationDescription Modifier and Type Field Description private java.util.List<? extends AnnotationDescription>
MethodDescription.Token. annotations
The annotations of the represented method.private java.util.List<? extends AnnotationDescription>
ParameterDescription.Token. annotations
A list of parameter annotations.private java.util.List<? extends AnnotationDescription>
MethodDescription.Latent. declaredAnnotations
The annotations of this method.private java.util.List<? extends AnnotationDescription>
ParameterDescription.Latent. declaredAnnotations
The annotations of the parameter.Methods in net.bytebuddy.description.method with parameters of type AnnotationDescription Modifier and Type Method Description private 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 AnnotationDescription Constructor Description Latent(MethodDescription.InDefinedShape declaringMethod, TypeDescription.Generic parameterType, java.util.List<? extends AnnotationDescription> declaredAnnotations, java.lang.String name, java.lang.Integer modifiers, int index, int offset)
Creates a latent parameter description.Token(TypeDescription.Generic type, java.util.List<? extends AnnotationDescription> annotations)
Creates a new parameter token without an explicit name or an explicit modifier.Token(TypeDescription.Generic type, java.util.List<? extends AnnotationDescription> annotations, java.lang.String name, java.lang.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 AnnotationDescription Modifier and Type Field Description private java.util.List<? extends AnnotationDescription>
RecordComponentDescription.Latent. annotations
The record component's annotations.private java.util.List<? extends AnnotationDescription>
RecordComponentDescription.Token. annotations
The token's annotations.protected java.util.List<? extends AnnotationDescription>
TypeDescription.Generic.Builder. annotations
The type annotations of the current annotated type.private java.util.List<? extends AnnotationDescription>
TypeVariableToken. annotations
The annotations of the type variable.Methods in net.bytebuddy.description.type with parameters of type AnnotationDescription Modifier and Type Method Description TypeDescription.Generic.Builder
TypeDescription.Generic.Builder. annotate(AnnotationDescription... annotation)
Defines type annotations to be declared by the current type.TypeDescription.Generic
TypeDescription.Generic.Builder. asWildcardLowerBound(AnnotationDescription... annotation)
Transforms this type into the lower bound of a wildcard type.TypeDescription.Generic
TypeDescription.Generic.Builder. asWildcardUpperBound(AnnotationDescription... annotation)
Transforms this type into the upper bound of a wildcard type.TypeDescription.Generic
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 AnnotationDescription Modifier and Type Method Description TypeDescription.Generic.Builder
TypeDescription.Generic.Builder. annotate(java.util.Collection<? extends AnnotationDescription> annotations)
Defines type annotations to be declared by the current type.TypeDescription.Generic
TypeDescription.Generic.Builder. asWildcardLowerBound(java.util.Collection<? extends AnnotationDescription> annotations)
Transforms this type into the lower bound of a wildcard type.TypeDescription.Generic
TypeDescription.Generic.Builder. asWildcardUpperBound(java.util.Collection<? extends AnnotationDescription> annotations)
Transforms this type into the upper bound of a wildcard type.TypeDescription.Generic
TypeDescription.Generic.Builder. build(java.util.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(java.util.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(java.util.List<? extends AnnotationDescription> annotations)
protected TypeDescription.Generic.Builder
TypeDescription.Generic.Builder.OfNonGenericType. doAnnotate(java.util.List<? extends AnnotationDescription> annotations)
protected TypeDescription.Generic.Builder
TypeDescription.Generic.Builder.OfParameterizedType. doAnnotate(java.util.List<? extends AnnotationDescription> annotations)
protected TypeDescription.Generic.Builder
TypeDescription.Generic.Builder.OfTypeVariable. doAnnotate(java.util.List<? extends AnnotationDescription> annotations)
static TypeDescription.Generic
TypeDescription.Generic.Builder. unboundWildcard(java.util.Collection<? extends AnnotationDescription> annotations)
Creates an unbound wildcard.Constructor parameters in net.bytebuddy.description.type with type arguments of type AnnotationDescription Constructor Description Builder(java.util.List<? extends AnnotationDescription> annotations)
Creates a new builder for a generic type description.Latent(TypeDescription declaringType, java.lang.String name, TypeDescription.Generic type, java.util.List<? extends AnnotationDescription> annotations)
Creates a new latent record component.OfGenericArrayType(TypeDescription.Generic componentType, java.util.List<? extends AnnotationDescription> annotations)
Creates a type builder for building a generic array type.OfNonGenericType(TypeDescription typeDescription, TypeDescription.Generic ownerType, java.util.List<? extends AnnotationDescription> annotations)
Creates a builder for a non-generic type.OfTypeVariable(java.lang.String symbol, java.util.List<? extends AnnotationDescription> annotations)
Creates a new builder for a symbolic type variable.Token(java.lang.String name, TypeDescription.Generic type, java.util.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 AnnotationDescription Modifier and Type Method Description DynamicType.Builder.FieldDefinition.Optional<S>
DynamicType.Builder.FieldDefinition. annotateField(AnnotationDescription... annotation)
Annotates the previously defined or matched field with the supplied annotations.DynamicType.Builder.FieldDefinition.Optional<U>
DynamicType.Builder.FieldDefinition.Optional.AbstractBase. annotateField(AnnotationDescription... annotation)
Annotates the previously defined or matched field with the supplied annotations.DynamicType.Builder.MethodDefinition<U>
DynamicType.Builder.MethodDefinition.AbstractBase. annotateMethod(AnnotationDescription... annotation)
Annotates the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition<S>
DynamicType.Builder.MethodDefinition. annotateMethod(AnnotationDescription... annotation)
Annotates the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition<U>
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<S>
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<W>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase. annotateParameter(AnnotationDescription... annotation)
Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable. annotateParameter(AnnotationDescription... annotation)
Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W>
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<V>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable. annotateParameter(AnnotationDescription... annotation)
Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.RecordComponentDefinition.Optional<S>
DynamicType.Builder.RecordComponentDefinition. annotateRecordComponent(AnnotationDescription... annotation)
Annotates the record component with the supplied annotations.DynamicType.Builder.RecordComponentDefinition.Optional<U>
DynamicType.Builder.RecordComponentDefinition.Optional.AbstractBase. annotateRecordComponent(AnnotationDescription... annotation)
Annotates the record component with the supplied annotations.DynamicType.Builder<S>
DynamicType.Builder.AbstractBase. annotateType(AnnotationDescription... annotation)
Annotates the instrumented type with the supplied annotations.DynamicType.Builder<T>
DynamicType.Builder. annotateType(AnnotationDescription... annotation)
Annotates the instrumented type with the supplied annotations.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W>
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase. annotateTypeVariable(AnnotationDescription... annotation)
Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable. annotateTypeVariable(AnnotationDescription... annotation)
Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.TypeVariableDefinition<U>
DynamicType.Builder.TypeVariableDefinition.AbstractBase. annotateTypeVariable(AnnotationDescription... annotation)
Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.TypeVariableDefinition<S>
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 AnnotationDescription Modifier and Type Method Description DynamicType.Builder.FieldDefinition.Optional<U>
DynamicType.Builder.AbstractBase.Adapter.FieldDefinitionAdapter. annotateField(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined or matched field with the supplied annotations.DynamicType.Builder.FieldDefinition.Optional<U>
DynamicType.Builder.AbstractBase.Adapter.FieldMatchAdapter. annotateField(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined or matched field with the supplied annotations.DynamicType.Builder.FieldDefinition.Optional<S>
DynamicType.Builder.FieldDefinition. annotateField(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined or matched field with the supplied annotations.DynamicType.Builder.MethodDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter. annotateMethod(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter. annotateMethod(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition<S>
DynamicType.Builder.MethodDefinition. annotateMethod(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter. annotateParameter(int index, java.util.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<U>
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.ParameterAnnotationAdapter. annotateParameter(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<U>
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.SimpleParameterAnnotationAdapter. annotateParameter(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter. annotateParameter(int index, java.util.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<S>
DynamicType.Builder.MethodDefinition. annotateParameter(int index, java.util.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<V>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable. annotateParameter(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable. annotateParameter(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.RecordComponentDefinition.Optional<U>
DynamicType.Builder.AbstractBase.Adapter.RecordComponentDefinitionAdapter. annotateRecordComponent(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the record component with the supplied annotations.DynamicType.Builder.RecordComponentDefinition.Optional<U>
DynamicType.Builder.AbstractBase.Adapter.RecordComponentMatchAdapter. annotateRecordComponent(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the record component with the supplied annotations.DynamicType.Builder.RecordComponentDefinition.Optional<S>
DynamicType.Builder.RecordComponentDefinition. annotateRecordComponent(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the record component with the supplied annotations.DynamicType.Builder<U>
DynamicType.Builder.AbstractBase.Adapter. annotateType(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the instrumented type with the supplied annotations.DynamicType.Builder<U>
DynamicType.Builder.AbstractBase.Delegator. annotateType(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the instrumented type with the supplied annotations.DynamicType.Builder<T>
DynamicType.Builder. annotateType(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the instrumented type with the supplied annotations.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<U>
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.TypeVariableAnnotationAdapter. annotateTypeVariable(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.TypeVariableDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.TypeVariableDefinitionAdapter. annotateTypeVariable(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable. annotateTypeVariable(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.TypeVariableDefinition<S>
DynamicType.Builder.TypeVariableDefinition. annotateTypeVariable(java.util.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 AnnotationDescription Modifier and Type Field Description private java.util.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 AnnotationDescription Modifier and Type Method Description InstrumentedType.WithFlexibleName
InstrumentedType.Default. withAnnotations(java.util.List<? extends AnnotationDescription> annotationDescriptions)
Creates a new instrumented type with the given annotations.InstrumentedType.WithFlexibleName
InstrumentedType.Frozen. withAnnotations(java.util.List<? extends AnnotationDescription> annotationDescriptions)
Creates a new instrumented type with the given annotations.InstrumentedType
InstrumentedType. withAnnotations(java.util.List<? extends AnnotationDescription> annotationDescriptions)
Creates a new instrumented type with the given annotations.InstrumentedType.WithFlexibleName
InstrumentedType.WithFlexibleName. withAnnotations(java.util.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 AnnotationDescription Modifier and Type Method Description DynamicType.Builder<T>
DecoratingDynamicTypeBuilder. annotateType(java.util.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 AnnotationDescription Modifier and Type Field Description private java.util.List<? extends AnnotationDescription>
FieldAttributeAppender.Explicit. annotations
The annotations that this appender appends.private java.util.List<? extends AnnotationDescription>
MethodAttributeAppender.Explicit. annotations
the annotations this method attribute appender is writing to its target.private java.util.List<? extends AnnotationDescription>
RecordComponentAttributeAppender.Explicit. annotations
The annotations that this appender appends.private java.util.List<? extends AnnotationDescription>
TypeAttributeAppender.Explicit. annotations
The annotations to write to the given type.Methods in net.bytebuddy.implementation.attribute with parameters of type AnnotationDescription Modifier and Type Method Description AnnotationAppender
AnnotationAppender. append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter)
Writes the given annotation to the target that this appender represents.AnnotationAppender
AnnotationAppender. append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter, int typeReference, java.lang.String typePath)
Writes the given type annotation to the target that this appender represents.AnnotationAppender
AnnotationAppender.Default. append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter)
Writes the given annotation to the target that this appender represents.AnnotationAppender
AnnotationAppender.Default. append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter, int typeReference, java.lang.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, java.lang.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 AnnotationDescription Constructor Description Explicit(java.util.List<? extends AnnotationDescription> annotations)
Creates a new annotation attribute appender for explicit annotation values.Explicit(int parameterIndex, java.util.List<? extends AnnotationDescription> annotations)
Creates a new appender for appending an annotation to a method.Explicit(java.util.List<? extends AnnotationDescription> annotations)
Creates a new appender for appending an annotation to a method.Explicit(MethodAttributeAppender.Explicit.Target target, java.util.List<? extends AnnotationDescription> annotations)
Creates an explicit annotation appender for a either a method or one of its parameters..Explicit(java.util.List<? extends AnnotationDescription> annotations)
Creates a new annotation attribute appender for explicit annotation values.Explicit(java.util.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 AnnotationDescription Modifier and Type Method Description protected 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 AnnotationDescription Modifier and Type Class Description class
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 AnnotationDescription Modifier and Type Method Description static <T extends AnnotationDescription>
ElementMatcher.Junction<T>ElementMatchers. annotationType(java.lang.Class<? extends java.lang.annotation.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(java.lang.annotation.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(java.lang.annotation.Annotation annotation)
Exactly matches a given annotation as anAnnotationDescription
.static <T extends AnnotationDescription>
ElementMatcher.Junction<T>ElementMatchers. noneOf(java.lang.annotation.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(java.lang.annotation.ElementType elementType)
Matches if an annotation can target a given element type.Method parameters in net.bytebuddy.matcher with type arguments of type AnnotationDescription Modifier and Type Method Description static <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 AnnotationDescription Modifier and Type Class Description private static class
TypePool.Default.LazyTypeDescription.LazyAnnotationDescription
A lazy description of an annotation that looks up types from a type pool when required.private static class
TypePool.Default.LazyTypeDescription.LazyAnnotationDescription.Loadable<S extends java.lang.annotation.Annotation>
A loadable version of a lazy annotation description.Fields in net.bytebuddy.pool declared as AnnotationDescription Modifier and Type Field Description private AnnotationDescription
TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Simple. annotationDescription
The represented annotation description.Methods in net.bytebuddy.pool that return AnnotationDescription Modifier and Type Method Description AnnotationDescription
TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Illegal. resolve()
Returns the resolved annotation.AnnotationDescription
TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution. resolve()
Returns the resolved annotation.AnnotationDescription
TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Simple. resolve()
Returns the resolved annotation.Methods in net.bytebuddy.pool that return types with arguments of type AnnotationDescription Modifier and Type Method Description protected AnnotationValue<AnnotationDescription,java.lang.annotation.Annotation>
TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForAnnotationValue. doResolve()
Constructors in net.bytebuddy.pool with parameters of type AnnotationDescription Constructor Description Simple(AnnotationDescription annotationDescription)
Creates a new simple resolution.
-