protected static class TypePool.AbstractBase.RawTypeValue extends Object implements AnnotationDescription.AnnotationValue<TypeDescription,Class<?>>
Modifier and Type | Class and Description |
---|---|
protected static class |
TypePool.AbstractBase.RawTypeValue.Loaded
Represents a loaded annotation property that represents a type.
|
AnnotationDescription.AnnotationValue.ForAnnotation<U extends Annotation>, AnnotationDescription.AnnotationValue.ForComplexArray<U,V>, AnnotationDescription.AnnotationValue.ForEnumeration<U extends Enum<U>>, AnnotationDescription.AnnotationValue.ForType<U extends Class<U>>, AnnotationDescription.AnnotationValue.Trivial<U>
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() |
AnnotationDescription.AnnotationValue.Loaded<Class<?>> |
load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
TypeDescription |
resolve()
Resolves the unloaded value of this annotation.
|
String |
toString() |
public TypeDescription resolve()
AnnotationDescription.AnnotationValue
resolve
in interface AnnotationDescription.AnnotationValue<TypeDescription,Class<?>>
public AnnotationDescription.AnnotationValue.Loaded<Class<?>> load(ClassLoader classLoader) throws ClassNotFoundException
AnnotationDescription.AnnotationValue
load
in interface AnnotationDescription.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–2016. All rights reserved.