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