protected static class TypePool.AbstractBase.RawTypeValue extends AnnotationValue.AbstractBase<TypeDescription,Class<?>>
Modifier and Type | Class and Description |
---|---|
protected static class |
TypePool.AbstractBase.RawTypeValue.Loaded
Represents a loaded annotation property that represents a type.
|
AnnotationValue.AbstractBase<U,V>, AnnotationValue.ForAnnotation<U extends Annotation>, AnnotationValue.ForComplexArray<U,V>, AnnotationValue.ForConstant<U>, AnnotationValue.ForEnumeration<U extends Enum<U>>, AnnotationValue.ForType<U extends Class<U>>
UNDEFINED
Constructor and Description |
---|
RawTypeValue(TypePool typePool,
Type type)
Represents a type value of an annotation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
AnnotationValue.Loaded<Class<?>> |
load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
TypeDescription |
resolve()
Resolves the unloaded value of this annotation.
|
String |
toString() |
resolve
public TypeDescription resolve()
AnnotationValue
public AnnotationValue.Loaded<Class<?>> load(ClassLoader classLoader) throws ClassNotFoundException
AnnotationValue
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.