public static class TypePool.LazyTypeDescription.AnnotationValue.ForAnnotation extends Object implements TypePool.LazyTypeDescription.AnnotationValue<AnnotationDescription,Annotation>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TypePool.LazyTypeDescription.AnnotationValue.ForAnnotation.IncompatibleRuntimeType
Represents an annotation value which was attempted to ba loaded by a type that does not represent
an annotation value.
|
protected static class |
TypePool.LazyTypeDescription.AnnotationValue.ForAnnotation.LegalRuntimeType
Represents an annotation which was loaded representing a runtime type which is itself an annotation.
|
TypePool.LazyTypeDescription.AnnotationValue.ForAnnotation, TypePool.LazyTypeDescription.AnnotationValue.ForComplexArray, TypePool.LazyTypeDescription.AnnotationValue.ForEnumeration, TypePool.LazyTypeDescription.AnnotationValue.ForType, TypePool.LazyTypeDescription.AnnotationValue.Loaded<U>, TypePool.LazyTypeDescription.AnnotationValue.Trivial<U>| Constructor and Description |
|---|
ForAnnotation(TypePool.LazyTypeDescription.AnnotationToken annotationToken)
Creates a new annotation value for a nested annotation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
TypePool.LazyTypeDescription.AnnotationValue.Loaded<Annotation> |
load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationDescription |
resolve(TypePool typePool)
Resolves the unloaded value of this annotation.
|
String |
toString() |
public ForAnnotation(TypePool.LazyTypeDescription.AnnotationToken annotationToken)
annotationToken - The token that represents the annotation.public AnnotationDescription resolve(TypePool typePool)
TypePool.LazyTypeDescription.AnnotationValueresolve in interface TypePool.LazyTypeDescription.AnnotationValue<AnnotationDescription,Annotation>typePool - The type pool to be used for looking up linked types.public TypePool.LazyTypeDescription.AnnotationValue.Loaded<Annotation> load(ClassLoader classLoader) throws ClassNotFoundException
TypePool.LazyTypeDescription.AnnotationValueload in interface TypePool.LazyTypeDescription.AnnotationValue<AnnotationDescription,Annotation>classLoader - The class loader for loading this value.ClassNotFoundException - If a type that represents a loaded value cannot be found.Copyright © 2014. All rights reserved.