Package eu.bandm.tools.metajava
Class GeneratedEnum
- All Implemented Interfaces:
Formattable
,GeneratedContext
,GeneratedSourceContext
,MetaClass
,MetaImportable
,MetaModifiable
,MetaType
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Map<String,
GeneratedEnumConstant> protected final List<GeneratedEnumConstant>
Fields inherited from class eu.bandm.tools.metajava.GeneratedClass
blocks, constructors, fields, innerClasses, interfaces, metaPackage, methods, ordered, parentSource, reduceMeth, reducerClass, reducerCons, rootClass, superClass
Fields inherited from class eu.bandm.tools.metajava.GeneratedMember
enclosing, name
Fields inherited from interface eu.bandm.tools.metajava.MetaType
getRawType, refer
-
Constructor Summary
ConstructorDescriptionGeneratedEnum
(GeneratedPackage metaPackage, GeneratedSourceContext parentSource, int modifiers, String id) -
Method Summary
Modifier and TypeMethodDescriptionaddConstant
(String id, Format... params) addConstant
(String id, Formattable... params) void
setSuperClass
(MetaType sup) Methods inherited from class eu.bandm.tools.metajava.GeneratedClass
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, getClassForNameName, 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, setSuperClass
Methods inherited from class eu.bandm.tools.metajava.GeneratedMember
addTypeVariable, addTypeVariable, getName, getTypeVariables
Methods inherited from class eu.bandm.tools.metajava.GeneratedDeclaration
getModifiers, setModifiers
Methods inherited from class eu.bandm.tools.metajava.GeneratedAnnotationTarget
addAnnotation, addAnnotation, addAnnotation, addComment, getAnnotations, getComments, getRawComments, hasMetadata
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.bandm.tools.metajava.MetaModifiable
getModifiers
-
Field Details
-
constants
-
byname
-
-
Constructor Details
-
GeneratedEnum
GeneratedEnum(GeneratedPackage metaPackage, GeneratedSourceContext parentSource, int modifiers, String id)
-
-
Method Details
-
setSuperClass
- Overrides:
setSuperClass
in classGeneratedClass
-
addConstant
-
addConstant
-
getConstants
-