jasco.runtime.transform
Class CallbackPerMethodGenerator
java.lang.Object
jasco.runtime.transform.ClassProcessor
jasco.runtime.transform.MethodProcessor
jasco.runtime.transform.CallbackPerMethodGenerator
public class CallbackPerMethodGenerator
- extends MethodProcessor
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 |
CallbackPerMethodGenerator
public CallbackPerMethodGenerator(ClassProcessor g)
generateClass
public void generateClass(java.io.File dir)
throws java.lang.Exception
- Throws:
java.lang.Exception
generateDaClass
public void generateDaClass(javassist.CtClass clz,
java.io.File dir)
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
addGetObjectMethod
protected void addGetObjectMethod(javassist.CtClass callback,
javassist.CtMethod oldMethod)
throws java.lang.Exception
- Throws:
java.lang.Exception
addGetArgsMethod
protected void addGetArgsMethod(javassist.CtClass callback,
javassist.CtMethod oldMethod)
throws java.lang.Exception
- Throws:
java.lang.Exception