public class EnumHelper extends Object
Constructor and Description |
---|
EnumHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addEnumConstant(ClassNode enumClass,
String name,
Expression init) |
static FieldNode |
addEnumConstant(ClassNode enumClass,
String name,
Expression init,
int lineNumber,
int colNumber) |
static ClassNode |
makeEnumNode(String name,
int modifiers,
ClassNode[] interfaces,
ClassNode outerClass) |
public static ClassNode makeEnumNode(String name, int modifiers, ClassNode[] interfaces, ClassNode outerClass)
public static void addEnumConstant(ClassNode enumClass, String name, Expression init)
public static FieldNode addEnumConstant(ClassNode enumClass, String name, Expression init, int lineNumber, int colNumber)