T - The type of the annotation's value when it is not loaded.S - The type of the annotation's value when it is loaded.public static interface AnnotationDescription.AnnotationValue<T,S>
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | AnnotationDescription.AnnotationValue.ForAnnotation<U extends Annotation>A description of an  Annotationas a value of another annotation. | 
| static class  | AnnotationDescription.AnnotationValue.ForComplexArray<U,V>Describes a complex array that is the value of an annotation. | 
| static class  | AnnotationDescription.AnnotationValue.ForEnumeration<U extends Enum<U>>A description of an  Enumas a value of an annotation. | 
| static class  | AnnotationDescription.AnnotationValue.ForType<U extends Class<U>>A description of a  Classas a value of an annotation. | 
| static interface  | AnnotationDescription.AnnotationValue.Loaded<U>A loaded variant of an  AnnotationDescription.AnnotationValue. | 
| static class  | AnnotationDescription.AnnotationValue.Trivial<U>Represents a primitive value, a  Stringor an array of the latter types. | 
| Modifier and Type | Method and Description | 
|---|---|
| AnnotationDescription.AnnotationValue.Loaded<S> | load(ClassLoader classLoader)Returns the loaded value of this annotation. | 
| T | resolve()Resolves the unloaded value of this annotation. | 
T resolve()
AnnotationDescription.AnnotationValue.Loaded<S> load(ClassLoader classLoader) throws ClassNotFoundException
classLoader - The class loader for loading this value.ClassNotFoundException - If a type that represents a loaded value cannot be found.Copyright © 2014–2016. All rights reserved.