jasco.runtime.transform
Class TrapInserter
java.lang.Object
jasco.runtime.transform.ClassProcessor
jasco.runtime.transform.MethodProcessor
jasco.runtime.transform.TrapInserter
- Direct Known Subclasses:
- InlineInserter
public class TrapInserter
- extends MethodProcessor
Method Summary |
protected java.lang.String |
createInitCode(javassist.CtMethod method,
int methodid)
|
protected java.lang.String |
createNewBody(javassist.CtMethod method,
int methodid)
|
boolean |
processMethod(javassist.CtMethod themethod,
int methodid)
|
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 |
TrapInserter
public TrapInserter()
TrapInserter
public TrapInserter(javassist.ClassPool p)
TrapInserter
public TrapInserter(ClassProcessor g)
processMethod
public boolean processMethod(javassist.CtMethod themethod,
int methodid)
throws java.lang.Exception
- Specified by:
processMethod
in class MethodProcessor
- Throws:
java.lang.Exception
createInitCode
protected java.lang.String createInitCode(javassist.CtMethod method,
int methodid)
throws java.lang.Exception
- Throws:
java.lang.Exception
createNewBody
protected java.lang.String createNewBody(javassist.CtMethod method,
int methodid)
throws java.lang.Exception
- Throws:
java.lang.Exception