jasco.runtime.transform
Class CallbackGenerator

java.lang.Object
  extended by jasco.runtime.transform.ClassProcessor
      extended by jasco.runtime.transform.MethodProcessor
          extended by jasco.runtime.transform.CallbackGenerator

public class CallbackGenerator
extends MethodProcessor


Constructor Summary
CallbackGenerator(ClassProcessor g)
           
 
Method Summary
 void generateCallbackClassField(javassist.CtClass clz)
           
 void generateClass(java.io.File dir)
           
 ClassGenerator getResultingCallback()
           
 java.lang.String getResultingCallbackName()
           
 boolean processMethod(javassist.CtMethod method, int methodid)
           
 boolean startProcessing(javassist.CtClass clz, java.lang.String classname)
           
protected  javassist.CtClass toJavaAssistInner(ClassGenerator classGen)
           
 
Methods inherited from class jasco.runtime.transform.MethodProcessor
getProcessMethods, setProcessMethods
 
Methods inherited from class jasco.runtime.transform.ClassProcessor
accessField, addField, addNoAspects, debug, getClassPool, getFieldClass, getFieldClassName, getNewMethod, getNewMethodName, getSignatureSourceName, getSourceName, getTargetByteCode, getTargetClass, getUniqueClassID, makeDir, makePrimitiveObject, process, process, setClassPool, setFieldClass, setTargetClass, setUseFieldClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallbackGenerator

public CallbackGenerator(ClassProcessor g)
Method Detail

toJavaAssistInner

protected javassist.CtClass toJavaAssistInner(ClassGenerator classGen)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

generateClass

public void generateClass(java.io.File dir)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getResultingCallback

public ClassGenerator getResultingCallback()

getResultingCallbackName

public java.lang.String getResultingCallbackName()

generateCallbackClassField

public void generateCallbackClassField(javassist.CtClass clz)
                                throws java.lang.Exception
Throws:
java.lang.Exception

startProcessing

public boolean startProcessing(javassist.CtClass clz,
                               java.lang.String classname)
                        throws java.lang.Exception
Overrides:
startProcessing in class MethodProcessor
Throws:
java.lang.Exception

processMethod

public boolean processMethod(javassist.CtMethod method,
                             int methodid)
                      throws java.lang.Exception
Specified by:
processMethod in class MethodProcessor
Throws:
java.lang.Exception