public static class EnumerationDescription.Latent extends EnumerationDescription.AbstractBase
EnumerationDescription.AbstractBase, EnumerationDescription.ForLoadedEnumeration, EnumerationDescription.LatentNamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameEMPTY_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, toStringpublic Latent(TypeDescription enumerationType, String value)
enumerationType - The enumeration type.value - The value of the enumeration.public String getValue()
public TypeDescription getEnumerationType()
Copyright © 2014–2025. All rights reserved.