Interface AnnotationDescription.Loadable<S extends java.lang.annotation.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 java.lang.annotation.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 java.lang.annotation.Annotation>, AnnotationDescription.Builder, AnnotationDescription.ForLoadedAnnotation<S extends java.lang.annotation.Annotation>, AnnotationDescription.Latent, AnnotationDescription.Loadable<S extends java.lang.annotation.Annotation>, AnnotationDescription.RenderingDispatcher
-
-
Field Summary
-
Fields inherited from interface net.bytebuddy.description.annotation.AnnotationDescription
UNDEFINED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S
load()
Loads this annotation description.-
Methods inherited from interface net.bytebuddy.description.annotation.AnnotationDescription
getAnnotationType, getElementTypes, getRetention, getValue, isDocumented, isInherited, prepare
-
-
-
-
Method Detail
-
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.
-
-