|
||||||||||
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.TestClassGenerator
public class TestClassGenerator
Abstract base class for code generators
Constructor Summary | |
---|---|
TestClassGenerator(Class clazz,
boolean quiet,
TranslationContext ctx)
|
Method Summary | |
---|---|
protected ClassGeneratorVisitor |
createClassVisitor(Writer out)
Template method |
protected void |
extendClassProperties(Properties p)
Template method |
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 TestClassGenerator(Class clazz, boolean quiet, TranslationContext ctx)
Method Detail |
---|
protected void extendClassProperties(Properties p)
extendClassProperties
in class ClassGenerator
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |