public static class EnumerationDescription.Latent extends EnumerationDescription.AbstractBase
EnumerationDescription.AbstractBase, EnumerationDescription.ForLoadedEnumeration, EnumerationDescription.Latent
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
EMPTY_NAME, NO_NAME
Constructor and Description |
---|
Latent(TypeDescription enumerationType,
String value)
Creates a latent description of an 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, getActualName, hashCode, toString
public Latent(TypeDescription enumerationType, String value)
enumerationType
- The enumeration type.value
- The value of the enumeration.public String getValue()
public TypeDescription getEnumerationType()
Copyright © 2014–2020. All rights reserved.