public static class TypePool.LazyTypeDescription.AnnotationValue.ForEnumeration extends Object implements TypePool.LazyTypeDescription.AnnotationValue<AnnotationDescription.EnumerationValue,Enum<?>>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TypePool.LazyTypeDescription.AnnotationValue.ForEnumeration.IncompatibleRuntimeType
Represents an annotation's enumeration value for a runtime type that is not an enumeration type.
|
protected class |
TypePool.LazyTypeDescription.AnnotationValue.ForEnumeration.LazyEnumerationValue
An enumeration description where any type references are only resolved on demand.
|
protected static class |
TypePool.LazyTypeDescription.AnnotationValue.ForEnumeration.LegalRuntimeEnumeration
Represents an annotation's enumeration value which could be successfully resolved for a runtime
type.
|
protected static class |
TypePool.LazyTypeDescription.AnnotationValue.ForEnumeration.UnknownRuntimeEnumeration
Represents an annotation's enumeration value for a constant that does not exist for the runtime
enumeration type.
|
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 |
|---|
ForEnumeration(String descriptor,
String value)
Creates a new enumeration value representation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
TypePool.LazyTypeDescription.AnnotationValue.Loaded<Enum<?>> |
load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationDescription.EnumerationValue |
resolve(TypePool typePool)
Resolves the unloaded value of this annotation.
|
String |
toString() |
public AnnotationDescription.EnumerationValue resolve(TypePool typePool)
TypePool.LazyTypeDescription.AnnotationValueresolve in interface TypePool.LazyTypeDescription.AnnotationValue<AnnotationDescription.EnumerationValue,Enum<?>>typePool - The type pool to be used for looking up linked types.public TypePool.LazyTypeDescription.AnnotationValue.Loaded<Enum<?>> load(ClassLoader classLoader) throws ClassNotFoundException
TypePool.LazyTypeDescription.AnnotationValueload in interface TypePool.LazyTypeDescription.AnnotationValue<AnnotationDescription.EnumerationValue,Enum<?>>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.