protected static class TypePool.LazyTypeDescription.AnnotationValue.ForAnnotation.LegalRuntimeType extends Object implements TypePool.LazyTypeDescription.AnnotationValue.Loaded<Annotation>
TypePool.LazyTypeDescription.AnnotationValue.Loaded.State| Constructor and Description |
|---|
LegalRuntimeType(ClassLoader classLoader,
Class<? extends Annotation> annotationType,
Map<String,TypePool.LazyTypeDescription.AnnotationValue<?,?>> annotationValues)
Creates a representation for an annotation value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
TypePool.LazyTypeDescription.AnnotationValue.Loaded.State |
getState()
Returns the state of the represented loaded annotation value.
|
int |
hashCode() |
Annotation |
resolve()
Resolves the value to the actual value of an annotation.
|
String |
toString() |
public LegalRuntimeType(ClassLoader classLoader, Class<? extends Annotation> annotationType, Map<String,TypePool.LazyTypeDescription.AnnotationValue<?,?>> annotationValues) throws ClassNotFoundException
classLoader - The class loader for loading the annotation's implementing type and its values.annotationType - The loaded annotation type.annotationValues - The values of the annotation.ClassNotFoundException - If a linked class cannot be found.public TypePool.LazyTypeDescription.AnnotationValue.Loaded.State getState()
TypePool.LazyTypeDescription.AnnotationValue.LoadedgetState in interface TypePool.LazyTypeDescription.AnnotationValue.Loaded<Annotation>public Annotation resolve()
TypePool.LazyTypeDescription.AnnotationValue.Loadedresolve in interface TypePool.LazyTypeDescription.AnnotationValue.Loaded<Annotation>Copyright © 2014. All rights reserved.