protected class TypePool.AbstractBase.RawEnumerationValue.LazyEnumerationDescription extends EnumerationDescription.AbstractBase
EnumerationDescription.AbstractBase, EnumerationDescription.ForLoadedEnumeration, EnumerationDescription.LatentNamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameEMPTY_NAME, NO_NAME| Modifier | Constructor and Description |
|---|---|
protected |
LazyEnumerationDescription() |
| 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, getActualName, hashCode, toStringpublic String getValue()
EnumerationDescriptionpublic TypeDescription getEnumerationType()
EnumerationDescriptionpublic <T extends Enum<T>> T load(Class<T> type)
EnumerationDescriptionT - The enumeration type.type - A type constant representing the enumeration value.Copyright © 2014–2016. All rights reserved.