| Modifier and Type | Class and Description |
|---|---|
static class |
DynamicEnum.DynamicEnumE |
| Constructor and Description |
|---|
DynamicEnum() |
public <T extends Enum<?>> void addEnum(Class<T> enumType, String enumName)
T - the type of the enum (implicit)enumType - the class of the enum to be modifiedenumName - the name of the new enum instance to be added to the class.public Field[] getFields()
public static void main(String[] args)
Copyright © 2015. All Rights Reserved.