public class GeneratedEnum extends GeneratedClass
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,GeneratedEnumConstant> |
byname |
protected List<GeneratedEnumConstant> |
constants |
blocks, constructors, fields, innerClasses, interfaces, metaPackage, methods, ordered, parentSource, rootClass, superClassenclosing, namegetRawType, referformat| Modifier and Type | Method and Description |
|---|---|
GeneratedEnumConstant |
addConstant(String id,
Format... params) |
GeneratedEnumConstant |
addConstant(String id,
Formattable... params) |
List<GeneratedEnumConstant> |
getConstants() |
void |
setSuperClass(MetaType sup) |
addAnonymousClass, addAnonymousClass, addBlock, addBlock, addClass, addConstructor, addConstructor, addDeclarations, addDirt, addEnum, addField, addField, addImport, addImport, addInnerClass, addInnerClass, addInnerClass, addInnerEnum, addInterface, addInterface, addMethod, addMethod, addTypeParameter, format, getClasses, getConstructors, getElementClass, getEnclosingClass, getFields, getImportPattern, getImports, getInnerClass, getInnerClass, getInnerClasses, getInterfaces, getMethods, getOrderedMembers, getPackage, getPackageName, getParentContext, getParentSourceContext, getQualifiedName, getRawType, getSimpleName, getSourceFile, getSuperClass, getTypeParameters, isArray, isPrimitive, refer, referTo, referTo, setSuperClassaddTypeVariable, addTypeVariable, getName, getTypeVariablesgetModifiers, setModifiersaddAnnotation, addAnnotation, addAnnotation, addComment, getAnnotations, getComments, getRawComments, hasMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetModifiersprotected final List<GeneratedEnumConstant> constants
protected final Map<String,GeneratedEnumConstant> byname
public void setSuperClass(MetaType sup)
setSuperClass in class GeneratedClasspublic GeneratedEnumConstant addConstant(String id, Format... params)
public GeneratedEnumConstant addConstant(String id, Formattable... params)
public List<GeneratedEnumConstant> getConstants()
see also the complete user documentation .