public static class AnnotationDescription.Latent extends AnnotationDescription.AbstractBase
| Modifier and Type | Class and Description |
|---|---|
protected class |
AnnotationDescription.Latent.Loadable<S extends Annotation>
A loadable annotation description of a latent annotation description.
|
AnnotationDescription.AbstractBase, AnnotationDescription.AnnotationInvocationHandler<T extends Annotation>, AnnotationDescription.Builder, AnnotationDescription.ForLoadedAnnotation<S extends Annotation>, AnnotationDescription.Latent, AnnotationDescription.RenderingDispatcherUNDEFINED| Modifier | Constructor and Description |
|---|---|
protected |
Latent(TypeDescription annotationType,
Map<String,? extends AnnotationValue<?,?>> annotationValues)
Creates a new latent annotation description.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription |
getAnnotationType()
Returns a description of the annotation type of this annotation.
|
AnnotationValue<?,?> |
getValue(MethodDescription.InDefinedShape property)
Returns a value of this annotation.
|
<T extends Annotation> |
prepare(Class<T> annotationType)
Links this annotation description to a given annotation type such that it can be loaded.
|
equals, getElementTypes, getRetention, getValue, hashCode, isDocumented, isInherited, isSupportedOn, isSupportedOn, toStringprotected Latent(TypeDescription annotationType, Map<String,? extends AnnotationValue<?,?>> annotationValues)
annotationType - The type of the annotation.annotationValues - The values of the annotation mapped by their property name.public AnnotationValue<?,?> getValue(MethodDescription.InDefinedShape property)
property - The property being accessed.public TypeDescription getAnnotationType()
public <T extends Annotation> AnnotationDescription.Latent.Loadable<T> prepare(Class<T> annotationType)
T - The type of the annotation.annotationType - The loaded annotation type of this annotation description.Copyright © 2014–2025. All rights reserved.