Package net.bytebuddy.description.annotation
Contains descriptions of annotations and annotation values.
-
Interface Summary Interface Description AnnotationDescription An annotation description describesAnnotation
meta data of a class without this class being required to be loaded.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.AnnotationList Defines a list of annotation instances.AnnotationSource Describes a declaration source for annotations.AnnotationValue<T,S> Representation of an unloaded annotation value where all values represent either: Primitive values (as their wrappers),String
s or arrays of primitive types or strings. ATypeDescription
or an array of such a descriptions. AnEnumerationDescription
or an array of such a description. AnAnnotationDescription
or an array of such a description. The represented values are not necessarily resolvable, i.e.AnnotationValue.ForConstant.PropertyDelegate A property delegate for a constant annotation value.AnnotationValue.Loaded<U> A loaded variant of anAnnotationValue
. -
Class Summary Class Description AnnotationDescription.AbstractBase An adapter implementation of an annotation.AnnotationDescription.AnnotationInvocationHandler<T extends java.lang.annotation.Annotation> AnInvocationHandler
for implementing annotations.AnnotationDescription.Builder A builder for pragmatically creatingAnnotationDescription
.AnnotationDescription.ForLoadedAnnotation<S extends java.lang.annotation.Annotation> A description of an already loaded annotation.AnnotationDescription.Latent A latent description of an annotation value that is defined explicitly.AnnotationList.AbstractBase An abstract base implementation of an annotation list.AnnotationList.Empty Represents an empty annotation list.AnnotationList.Explicit Represents a list of explicitly provided annotation descriptions.AnnotationList.ForLoadedAnnotations Describes an array of loadedAnnotation
s as an annotation list.AnnotationSource.Explicit An annotation source that declares a given list of annotations.AnnotationValue.AbstractBase<U,V> An abstract base implementation of an unloaded annotation value.AnnotationValue.ForAnnotationDescription<U extends java.lang.annotation.Annotation> A description of anAnnotation
as a value of another annotation.AnnotationValue.ForAnnotationDescription.Loaded<V extends java.lang.annotation.Annotation> A loaded version of the described annotation.AnnotationValue.ForConstant<U> Represents a primitive value, aString
or an array of the latter types.AnnotationValue.ForConstant.Loaded<V> Represents a trivial loaded value.AnnotationValue.ForDescriptionArray<U,V> Describes a complex array that is the value of an annotation.AnnotationValue.ForDescriptionArray.Loaded<W> Represents a loaded complex array.AnnotationValue.ForEnumerationDescription<U extends java.lang.Enum<U>> A description of anEnum
as a value of an annotation.AnnotationValue.ForEnumerationDescription.Loaded<V extends java.lang.Enum<V>> A loaded representation of an enumeration value.AnnotationValue.ForEnumerationDescription.Loaded.WithIncompatibleRuntimeType Represents an annotation's enumeration value for a runtime type that is not an enumeration type.AnnotationValue.ForEnumerationDescription.WithUnknownConstant<U extends java.lang.Enum<U>> Represents a property with an enumeration constant that is not defined by an enumeration type.AnnotationValue.ForEnumerationDescription.WithUnknownConstant.Loaded Represents a property with an enumeration constant that is not defined by an enumeration type.AnnotationValue.ForIncompatibleType<U,V> Represents an annotation value where its declared type does not fulfil an expectation.AnnotationValue.ForIncompatibleType.Loaded<W> A description of annotation value for a type that does not fulfil an expectation.AnnotationValue.ForMismatchedType<U,V> Describes an annotation value that does not match the annotation' type for a property.AnnotationValue.ForMismatchedType.Loaded<W> Describes an annotation value for a property that is not assignable to it.AnnotationValue.ForMissingType<U,V> An annotation value for a type that could not be loaded.AnnotationValue.ForMissingType.Loaded<U> Represents a missing type during an annotation's resolution.AnnotationValue.ForMissingValue<U,V> Represents a missing annotation property which is not represented by a default value.AnnotationValue.ForMissingValue.Loaded<W> Describes an annotation value for a property that is not assignable to it.AnnotationValue.ForTypeDescription<U extends java.lang.Class<U>> A description of aClass
as a value of an annotation.AnnotationValue.ForTypeDescription.Loaded<U extends java.lang.Class<U>> A loaded annotation value for a given type.AnnotationValue.Loaded.AbstractBase<W> An abstract base implementation of a loaded annotation value.AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<Z> A base implementation for an unresolved property. -
Enum Summary Enum Description AnnotationDescription.RenderingDispatcher A rendering dispatcher is responsible for resolving annotation descriptions toString
representations.AnnotationSource.Empty An annotation source that does not declare any annotations.AnnotationValue.ForConstant.PropertyDelegate.ForArrayType A property delegate for an array type of a constant value.AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType A property delegate for a non-array type.AnnotationValue.RenderingDispatcher A rendering dispatcher is responsible for resolving annotation values toString
representations.AnnotationValue.State Represents the state of aAnnotationValue.Loaded
annotation property.