protected class TypePool.LazyTypeDescription.AnnotationValue.ForEnumeration.LazyEnumerationValue extends AnnotationDescription.EnumerationValue.AbstractEnumerationValue
AnnotationDescription.EnumerationValue.AbstractEnumerationValue, AnnotationDescription.EnumerationValue.ForLoadedEnumeration| Modifier | Constructor and Description |
|---|---|
protected |
LazyEnumerationValue(TypePool typePool)
Creates a new lazy enumeration value.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription |
getEnumerationType()
Returns the type of this enumeration.
|
String |
getValue()
Returns the name of this instance's enumeration value.
|
<T extends Enum<T>> |
load(Class<T> type)
Prepares this enumeration value to be loaded.
|
equals, hashCode, toStringprotected LazyEnumerationValue(TypePool typePool)
typePool - The type pool to query for resolving type references.public String getValue()
AnnotationDescription.EnumerationValuepublic TypeDescription getEnumerationType()
AnnotationDescription.EnumerationValuepublic <T extends Enum<T>> T load(Class<T> type)
AnnotationDescription.EnumerationValueT - The enumeration type.type - A type constant representing the enumeration value.Copyright © 2014. All rights reserved.