java.lang.annotation.Annotation
meta data of a class without this class
being required to be loaded. All values of an annotation are therefore represented in unloaded state:
java.lang.Class
instances are represented as TypeDescription
s.java.lang.Enum
instances are represented as
net.bytebuddy.description.enumeration.EnumerationDescription
s.java.lang.annotation.Annotation
s are described as
AnnotationDescription
s.Modifier and Type | Class and Description |
---|---|
public abstract static class | AnnotationDescription.AbstractBase
An adapter implementation of an annotation. |
public static class | AnnotationDescription.AnnotationInvocationHandler<
The type of the handled annotation. T extends Annotation>An |
public static class | AnnotationDescription.Builder
A builder for pragmatically creating |
public static class | AnnotationDescription.ForLoadedAnnotation<
The type of the annotation. S extends Annotation>A description of an already loaded annotation. |
public static class | AnnotationDescription.Latent
A latent description of an annotation value that is defined explicitly. |
public static interface | AnnotationDescription.Loadable<
The annotation type. S extends Annotation>An annotation description that is linked to a given loaded annotation type which allows its representation as a fully loaded instance. |
public static enum | AnnotationDescription.RenderingDispatcher
A rendering dispatcher is responsible for resolving annotation descriptions to |
Modifier and Type | Field and Description |
---|---|
public static final AnnotationDescription. | UNDEFINED
Indicates a nonexistent annotation in a type-safe manner. |
Modifier and Type | Method and Description |
---|---|
public TypeDescription | Returns: A description of the annotation type of this annotation.Returns a description of the annotation type of this annotation. |
public Set | Returns: A set of all element types that can declare this annotation.Returns a set of all |
public RetentionPolicy | Returns: This annotation's retention policy.Returns this annotation's retention policy. |
public AnnotationValue | |
public AnnotationValue | Returns: The value for the supplied property.The property being accessed. propertyReturns a value of this annotation. |
public boolean | Returns: true if this annotation is documented.Checks if this annotation is documented. |
public boolean | |
public boolean | Returns: true if the supplied element type is supported by this annotation.The element type to check. elementType)Checks if this annotation is supported on the supplied element type. |
public boolean | Returns: true if the supplied element type is supported by this annotation.The element type to check. elementType)Checks if this annotation is supported on the supplied element type. |
public < The type of the annotation. T extends Annotation> AnnotationDescription. |