public static class EnumerationDescription.ForLoadedEnumeration extends EnumerationDescription.AbstractBase
EnumerationDescription.AbstractBase, EnumerationDescription.ForLoadedEnumeration, EnumerationDescription.LatentNamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameEMPTY_NAME, NO_NAME| Constructor and Description |
|---|
ForLoadedEnumeration(Enum<?> value)
Creates a new enumeration value representation for a loaded enumeration.
|
| Modifier and Type | Method and Description |
|---|---|
static List<EnumerationDescription> |
asList(Enum<?>[] enumerations)
Enlists a given array of loaded enumerations as enumeration values.
|
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 ForLoadedEnumeration(Enum<?> value)
value - The value to represent.public static List<EnumerationDescription> asList(Enum<?>[] enumerations)
enumerations - The enumerations to represent.public String getValue()
public TypeDescription getEnumerationType()
Copyright © 2014–2025. All rights reserved.