public static class TypePool.LazyTypeDescription.AnnotationValue.ForType extends Object implements TypePool.LazyTypeDescription.AnnotationValue<TypeDescription,Class<?>>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TypePool.LazyTypeDescription.AnnotationValue.ForType.Loaded
Represents a loaded annotation property that represents a type.
|
TypePool.LazyTypeDescription.AnnotationValue.ForAnnotation, TypePool.LazyTypeDescription.AnnotationValue.ForComplexArray, TypePool.LazyTypeDescription.AnnotationValue.ForEnumeration, TypePool.LazyTypeDescription.AnnotationValue.ForType, TypePool.LazyTypeDescription.AnnotationValue.Trivial<U>| Constructor and Description |
|---|
ForType(org.objectweb.asm.Type type)
Represents a type value of an annotation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
TypePool.LazyTypeDescription.AnnotationValue.Loaded<Class<?>> |
load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
TypeDescription |
resolve(TypePool typePool)
Resolves the unloaded value of this annotation.
|
String |
toString() |
public ForType(org.objectweb.asm.Type type)
type - A type representation of the type that is referenced by the annotation..public TypeDescription resolve(TypePool typePool)
TypePool.LazyTypeDescription.AnnotationValueresolve in interface TypePool.LazyTypeDescription.AnnotationValue<TypeDescription,Class<?>>typePool - The type pool to be used for looking up linked types.public TypePool.LazyTypeDescription.AnnotationValue.Loaded<Class<?>> load(ClassLoader classLoader) throws ClassNotFoundException
TypePool.LazyTypeDescription.AnnotationValueload in interface TypePool.LazyTypeDescription.AnnotationValue<TypeDescription,Class<?>>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.