com.moesol.generator
Class JavaForwardVisitor

java.lang.Object
  extended by com.moesol.generator.JavaForwardVisitor
All Implemented Interfaces:
ParamTypeVisitor, ReflectVisitor

public class JavaForwardVisitor
extends Object
implements ReflectVisitor, ParamTypeVisitor


Constructor Summary
JavaForwardVisitor(Writer out, TranslationContext ctx)
           
 
Method Summary
protected  void printForward(Class type)
           
 void visitConstructor(Class c, Constructor ctor)
           
 void visitDone()
           
 void visitField(Class c, Field field)
           
 void visitMethod(Class a_class, Method method)
           
 void visitParamSeparator(Class c)
           
 void visitParamType(Class c, int nparam, Class paramType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaForwardVisitor

public JavaForwardVisitor(Writer out,
                          TranslationContext ctx)
Method Detail

visitField

public void visitField(Class c,
                       Field field)
                throws ApplyException
Specified by:
visitField in interface ReflectVisitor
Throws:
ApplyException

visitMethod

public void visitMethod(Class a_class,
                        Method method)
                 throws ApplyException
Specified by:
visitMethod in interface ReflectVisitor
Throws:
ApplyException

visitConstructor

public void visitConstructor(Class c,
                             Constructor ctor)
                      throws ApplyException
Specified by:
visitConstructor in interface ReflectVisitor
Throws:
ApplyException

visitParamType

public void visitParamType(Class c,
                           int nparam,
                           Class paramType)
                    throws ApplyException
Specified by:
visitParamType in interface ParamTypeVisitor
Throws:
ApplyException

visitParamSeparator

public void visitParamSeparator(Class c)
                         throws ApplyException
Specified by:
visitParamSeparator in interface ParamTypeVisitor
Throws:
ApplyException

visitDone

public void visitDone()
               throws ApplyException
Throws:
ApplyException

printForward

protected void printForward(Class type)
                     throws ApplyException
Throws:
ApplyException


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