java.lang.Object
java.lang.constant.DynamicConstantDesc<E>
java.lang.Enum.EnumDesc<E>
- Type Parameters:
 E- the type of the enum constant
- All Implemented Interfaces:
 ConstantDesc
A nominal descriptor for an
 
enum constant.- Since:
 - 12
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Enum<E>>
Enum.EnumDesc<E>Returns a nominal descriptor for the specifiedenumclass and nameMethods declared in class java.lang.constant.DynamicConstantDesc
bootstrapArgs, bootstrapArgsList, bootstrapMethod, constantName, constantType, equals, hashCode, of, of, ofCanonical, ofNamed, resolveConstantDesc, toString 
- 
Method Details
- 
of
Returns a nominal descriptor for the specifiedenumclass and name- Type Parameters:
 E- the type of the enum constant- Parameters:
 enumClass- aClassDescdescribing theenumclassconstantName- the unqualified name of the enum constant- Returns:
 - the nominal descriptor
 - Throws:
 NullPointerException- if any argument is null- See Java Virtual Machine Specification:
 - 
4.2.2 Unqualified Names
 - Since:
 - 12
 
 
 -