|
||||||||||
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.JniClassGenerator
public class JniClassGenerator
Abstract base class for code generators
Constructor Summary | |
---|---|
JniClassGenerator(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 |
protected boolean |
shouldGenerate()
Template method |
Methods inherited from class com.moesol.generator.ClassGenerator |
---|
ClassForName, cni_forward, createClassOutput, createClassTemplate, findClassTemplate, generate, getClassDirectory, getClassDirectory, getTranslationContext, getTransProperty, merge_import, merge, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JniClassGenerator(Class clazz, boolean quiet, TranslationContext ctx)
Method Detail |
---|
protected boolean shouldGenerate()
shouldGenerate
in class ClassGenerator
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 |