Interface AnnotationDescription.Loadable<S extends Annotation>
- Type Parameters:
S
- The annotation type.
- All Superinterfaces:
AnnotationDescription
- All Known Implementing Classes:
AnnotationDescription.ForLoadedAnnotation
,AnnotationDescription.Latent.Loadable
,TypePool.Default.LazyTypeDescription.LazyAnnotationDescription.Loadable
- Enclosing interface:
- AnnotationDescription
public static interface AnnotationDescription.Loadable<S extends Annotation>
extends AnnotationDescription
An annotation description that is linked to a given loaded annotation type which allows its representation
as a fully loaded instance.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.description.annotation.AnnotationDescription
AnnotationDescription.AbstractBase, AnnotationDescription.AnnotationInvocationHandler<T extends Annotation>, AnnotationDescription.Builder, AnnotationDescription.ForLoadedAnnotation<S extends Annotation>, AnnotationDescription.Latent, AnnotationDescription.Loadable<S extends Annotation>, AnnotationDescription.RenderingDispatcher
-
Field Summary
Fields inherited from interface net.bytebuddy.description.annotation.AnnotationDescription
UNDEFINED
-
Method Summary
Methods inherited from interface net.bytebuddy.description.annotation.AnnotationDescription
getAnnotationType, getElementTypes, getRetention, getValue, getValue, isDocumented, isInherited, isSupportedOn, isSupportedOn, prepare
-
Method Details
-
load
S load()Loads this annotation description. This causes all classes referenced by the annotation value to be loaded. Without specifying a class loader, the annotation's class loader which was used to prepare this instance is used.- Returns:
- A loaded version of this annotation description.
-