net.sf.jour.instrumentor
Class MakeEmptyMethodInstrumentor

java.lang.Object
  extended by net.sf.jour.instrumentor.AbstractInstrumentor
      extended by net.sf.jour.instrumentor.MakeEmptyMethodInstrumentor
All Implemented Interfaces:
Instrumentor

public class MakeEmptyMethodInstrumentor
extends AbstractInstrumentor


Field Summary
 
Fields inherited from class net.sf.jour.instrumentor.AbstractInstrumentor
log, pointcuts
 
Constructor Summary
MakeEmptyMethodInstrumentor()
           
 
Method Summary
static java.lang.String emptyBody(javassist.CtClass returnType)
           
 boolean instrumentClass(javassist.CtClass clazz)
           
 boolean instrumentConstructor(javassist.CtClass clazz, javassist.CtConstructor constructor)
           
 boolean instrumentMethod(javassist.CtClass clazz, javassist.CtMethod method)
           
 
Methods inherited from class net.sf.jour.instrumentor.AbstractInstrumentor
classCreated, instrument, setPointcuts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MakeEmptyMethodInstrumentor

public MakeEmptyMethodInstrumentor()
Method Detail

instrumentClass

public boolean instrumentClass(javassist.CtClass clazz)
                        throws InterceptorException
Specified by:
instrumentClass in class AbstractInstrumentor
Throws:
InterceptorException

instrumentConstructor

public boolean instrumentConstructor(javassist.CtClass clazz,
                                     javassist.CtConstructor constructor)
                              throws InterceptorException
Specified by:
instrumentConstructor in class AbstractInstrumentor
Throws:
InterceptorException

instrumentMethod

public boolean instrumentMethod(javassist.CtClass clazz,
                                javassist.CtMethod method)
                         throws InterceptorException
Specified by:
instrumentMethod in class AbstractInstrumentor
Throws:
InterceptorException

emptyBody

public static java.lang.String emptyBody(javassist.CtClass returnType)


Copyright © 2004-2008 pyx4j.com. All Rights Reserved.