com.moesol.generator
Class JniHeaderClassGeneratorVisitor

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

public class JniHeaderClassGeneratorVisitor
extends ClassGeneratorVisitor


Field Summary
 
Fields inherited from class com.moesol.generator.ClassGeneratorVisitor
current_callable
 
Method Summary
protected  void extendFieldProperties(Field field, Properties p)
          Template method
protected  void extendMethodProperties(Method method, Properties p)
          Template method
protected  String getFieldTemplateName(Field field)
          Template method
protected  String getTemplateName(Constructor constructor)
          Template method
protected  String getTemplateName(Method method)
          Template method
protected  boolean shouldGenerateConstructor(Constructor constructor)
          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, 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
 

Method Detail

shouldGenerateField

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

Overrides:
shouldGenerateField in class ClassGeneratorVisitor

extendFieldProperties

protected void extendFieldProperties(Field field,
                                     Properties p)
                              throws ApplyException
Description copied from class: ClassGeneratorVisitor
Template method

Overrides:
extendFieldProperties in class ClassGeneratorVisitor
Throws:
ApplyException

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)
Description copied from class: ClassGeneratorVisitor
Template method

Specified by:
getTemplateName in class ClassGeneratorVisitor

shouldGenerateConstructor

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

Overrides:
shouldGenerateConstructor in class ClassGeneratorVisitor

getTemplateName

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

Specified by:
getTemplateName in class ClassGeneratorVisitor


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