public abstract class EnumExtender
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static sun.reflect.ReflectionFactory | 
reflectionFactory  | 
| Constructor and Description | 
|---|
EnumExtender()  | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends java.lang.Enum<?>> | 
addEnum(java.lang.Class enumClz,
       java.lang.String enumName)
Add an enum instance to the enum class given as argument 
 | 
abstract java.lang.Object[] | 
constructParams(java.lang.String value,
               int ordinal)  | 
abstract java.lang.Class<?>[] | 
constructParamTypes()  | 
sun.reflect.ConstructorAccessor | 
getConstructorAccessor(java.lang.Class<?> enumClass,
                      java.lang.Class<?>[] additionalParameterTypes)  | 
public sun.reflect.ConstructorAccessor getConstructorAccessor(java.lang.Class<?> enumClass,
                                                              java.lang.Class<?>[] additionalParameterTypes)
                                                       throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic abstract java.lang.Object[] constructParams(java.lang.String value,
                                                   int ordinal)
public abstract java.lang.Class<?>[] constructParamTypes()
public <T extends java.lang.Enum<?>> boolean addEnum(java.lang.Class enumClz,
                                                     java.lang.String enumName)
                                              throws java.lang.Exception
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.java.lang.Exception