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.ForAnnotationDescription<U extends Annotation>, AnnotationValue.ForConstant<U>, AnnotationValue.ForDescriptionArray<U,V>, AnnotationValue.ForEnumerationDescription<U extends Enum<U>>, AnnotationValue.ForTypeDescription<U extends Class<U>>, AnnotationValue.RenderingDispatcher
UNDEFINED
Modifier | Constructor and Description |
---|---|
protected |
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.