jasco.runtime.transform
Class MethodAccumulator

java.lang.Object
  extended by jasco.runtime.transform.ClassProcessor
      extended by jasco.runtime.transform.MethodAccumulator

public class MethodAccumulator
extends ClassProcessor


Constructor Summary
MethodAccumulator()
           
MethodAccumulator(java.util.Vector excludedMethods)
           
MethodAccumulator(java.util.Vector excludedMethods, java.util.Set matchingMethods)
           
 
Method Summary
protected  java.util.Vector accumulateAllMethods()
           
protected  boolean doPrivateMethods()
           
 java.util.Vector getResultingMethods()
           
protected  boolean isExcluded(javassist.CtMethod aMethod)
           
protected  boolean matchesSelectionMethod(javassist.CtMethod method)
           
 void setDebugString(java.lang.String str)
           
 void setExcludedMethods(java.util.Vector v)
           
protected  void setResult(java.util.Vector v)
           
protected  boolean startProcessing(javassist.CtClass clz, java.lang.String classname)
           
 
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

MethodAccumulator

public MethodAccumulator(java.util.Vector excludedMethods)

MethodAccumulator

public MethodAccumulator(java.util.Vector excludedMethods,
                         java.util.Set matchingMethods)

MethodAccumulator

public MethodAccumulator()
Method Detail

setDebugString

public void setDebugString(java.lang.String str)

matchesSelectionMethod

protected boolean matchesSelectionMethod(javassist.CtMethod method)

doPrivateMethods

protected boolean doPrivateMethods()

isExcluded

protected boolean isExcluded(javassist.CtMethod aMethod)

setExcludedMethods

public void setExcludedMethods(java.util.Vector v)

setResult

protected void setResult(java.util.Vector v)

getResultingMethods

public java.util.Vector getResultingMethods()

accumulateAllMethods

protected java.util.Vector accumulateAllMethods()

startProcessing

protected boolean startProcessing(javassist.CtClass clz,
                                  java.lang.String classname)
                           throws java.lang.Exception
Specified by:
startProcessing in class ClassProcessor
Throws:
java.lang.Exception