com.moesol.generator
Class TestClassGeneratorVisitor

java.lang.Object
  extended by com.moesol.generator.ClassGeneratorVisitor
      extended by com.moesol.generator.TestClassGeneratorVisitor
All Implemented Interfaces:
ReflectVisitor

public class TestClassGeneratorVisitor
extends ClassGeneratorVisitor


Field Summary
 
Fields inherited from class com.moesol.generator.ClassGeneratorVisitor
current_callable
 
Constructor Summary
TestClassGeneratorVisitor(Writer out, TranslationContext ctx)
           
 
Method Summary
protected  void extendMethodProperties(Method method, Properties p)
          Template method
protected  String getFieldTemplateName(Field field)
          Template method
protected  String getTemplateName(Constructor ctor)
          Template method
protected  String getTemplateName(Method method)
          Template method
protected  boolean shouldGenerateConstructor(Constructor ctor)
          Template method
protected  boolean shouldGenerateField(Field field)
          Template method
protected  boolean shouldGenerateMethod(Method method)
          Template method
 
Methods inherited from class com.moesol.generator.ClassGeneratorVisitor
createCallable, extendConstructorProperties, extendFieldProperties, findConstructorTranslation, findFieldTranslation, findMethodTranslation, findMeTranslation, findParameterTranslation, findPropInitTranslation, getJniName, getJniOverload, getJniReturnError, getJniSelf, getPassAppend, getPropertyName, getSeparator, getTranslationContext, getTransProperty, queryMethodTranslation, queryTranslation, setPassAppend, setPassNumber, visit, visitConstructor, visitField, visitMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestClassGeneratorVisitor

public TestClassGeneratorVisitor(Writer out,
                                 TranslationContext ctx)
Method Detail

shouldGenerateField

protected boolean shouldGenerateField(Field field)
Description copied from class: ClassGeneratorVisitor
Template method

Overrides:
shouldGenerateField in class ClassGeneratorVisitor

getFieldTemplateName

protected String getFieldTemplateName(Field field)
Description copied from class: ClassGeneratorVisitor
Template method

Specified by:
getFieldTemplateName in class ClassGeneratorVisitor

shouldGenerateMethod

protected boolean shouldGenerateMethod(Method method)
Description copied from class: ClassGeneratorVisitor
Template method

Overrides:
shouldGenerateMethod in class ClassGeneratorVisitor

extendMethodProperties

protected void extendMethodProperties(Method method,
                                      Properties p)
                               throws ApplyException
Description copied from class: ClassGeneratorVisitor
Template method

Overrides:
extendMethodProperties in class ClassGeneratorVisitor
Throws:
ApplyException

getTemplateName

protected String getTemplateName(Method method)
                          throws ApplyException
Description copied from class: ClassGeneratorVisitor
Template method

Specified by:
getTemplateName in class ClassGeneratorVisitor
Throws:
ApplyException

shouldGenerateConstructor

protected boolean shouldGenerateConstructor(Constructor ctor)
Description copied from class: ClassGeneratorVisitor
Template method

Overrides:
shouldGenerateConstructor in class ClassGeneratorVisitor

getTemplateName

protected String getTemplateName(Constructor ctor)
Description copied from class: ClassGeneratorVisitor
Template method

Specified by:
getTemplateName in class ClassGeneratorVisitor


Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.