|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.moesol.generator.ClassGenerator com.moesol.generator.JavaClassGenerator
public class JavaClassGenerator
Abstract base class for code generators
Constructor Summary | |
---|---|
JavaClassGenerator(Class clazz,
boolean quiet,
TranslationContext ctx)
|
Method Summary | |
---|---|
protected ClassGeneratorVisitor |
createClassVisitor(Writer out)
Template method |
protected void |
extendClassProperties(Properties p)
Template method |
protected String |
getC2pcCoclass(Class cls)
|
protected String |
getCniName()
|
protected String |
getFileSuffix()
Template method |
protected String |
getTemplateName()
Template method |
Methods inherited from class com.moesol.generator.ClassGenerator |
---|
ClassForName, cni_forward, createClassOutput, createClassTemplate, findClassTemplate, generate, getClassDirectory, getClassDirectory, getTranslationContext, getTransProperty, merge_import, merge, shouldGenerate, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaClassGenerator(Class clazz, boolean quiet, TranslationContext ctx)
Method Detail |
---|
protected void extendClassProperties(Properties p) throws ApplyException
extendClassProperties
in class ClassGenerator
ApplyException
protected String getCniName() throws ApplyException
ApplyException
protected String getTemplateName() throws ApplyException
getTemplateName
in class ClassGenerator
ApplyException
protected ClassGeneratorVisitor createClassVisitor(Writer out) throws ApplyException
createClassVisitor
in class ClassGenerator
ApplyException
protected String getFileSuffix()
getFileSuffix
in class ClassGenerator
protected String getC2pcCoclass(Class cls) throws ApplyException
ApplyException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |