jasco.runtime.transform
Class TrapInserter

java.lang.Object
  extended by jasco.runtime.transform.ClassProcessor
      extended by jasco.runtime.transform.MethodProcessor
          extended by jasco.runtime.transform.TrapInserter
Direct Known Subclasses:
InlineInserter

public class TrapInserter
extends MethodProcessor


Constructor Summary
TrapInserter()
           
TrapInserter(javassist.ClassPool p)
           
TrapInserter(ClassProcessor g)
           
 
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.MethodProcessor
getProcessMethods, setProcessMethods, startProcessing
 
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

TrapInserter

public TrapInserter()

TrapInserter

public TrapInserter(javassist.ClassPool p)

TrapInserter

public TrapInserter(ClassProcessor g)
Method Detail

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