protected class TypePool.AbstractBase.RawEnumerationValue.LazyEnumerationDescription extends EnumerationDescription.AbstractBase
EnumerationDescription.AbstractBase, EnumerationDescription.ForLoadedEnumeration, EnumerationDescription.Latent
NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
EMPTY_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, toString
public String getValue()
EnumerationDescription
public TypeDescription getEnumerationType()
EnumerationDescription
public <T extends Enum<T>> T load(Class<T> type)
EnumerationDescription
T
- The enumeration type.type
- A type constant representing the enumeration value.Copyright © 2014–2018. All rights reserved.