Package deltix.util.jcg.scg
Class JEnumImpl
- java.lang.Object
-
- deltix.util.jcg.scg.ClassImpl
-
- deltix.util.jcg.scg.JEnumImpl
-
- All Implemented Interfaces:
JAnnotationContainer
,JClass
,JMember
,JType
,JVariableContainer
,JTypeImpl
public class JEnumImpl extends ClassImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected JContextImpl
context
-
Fields inherited from class deltix.util.jcg.scg.ClassImpl
annotations, fullName, interfaceNames, packageName, parentName
-
-
Constructor Summary
Constructors Constructor Description JEnumImpl(JContextImpl context, int modifiers, java.lang.String packageName, java.lang.String simpleName, java.lang.String parentName, EnumClassDescriptor ecd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JExpr
callSuperMethod(java.lang.String name, JExpr... args)
JClass
containerClass()
int
modifiers()
java.lang.String
name()
void
printDeclaration(SourceCodePrinter out)
-
Methods inherited from class deltix.util.jcg.scg.ClassImpl
addAnnotation, addComment, addConstructor, addImplementedInterface, addImplementedInterface, addMethod, addMethod, addProperty, addVar, addVar, addVar, addVar, addVar, addVar, addVar, fullName, getConstructor, getMethod, getVar, getVars, inheritedVar, innerClass, innerClass, innerClass, newExpr, packageName, printAnnotations, thisVar
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface deltix.util.jcg.JMember
containerClass, modifiers, name
-
-
-
-
Field Detail
-
context
protected final JContextImpl context
-
-
Constructor Detail
-
JEnumImpl
public JEnumImpl(JContextImpl context, int modifiers, java.lang.String packageName, java.lang.String simpleName, java.lang.String parentName, EnumClassDescriptor ecd)
-
-
Method Detail
-
printDeclaration
public void printDeclaration(SourceCodePrinter out) throws java.io.IOException
- Throws:
java.io.IOException
-
containerClass
public final JClass containerClass()
- Specified by:
containerClass
in interfaceJMember
-
-