(Inital implementation)
- Version:
- $Revision: 1.6 $ ($Author: vlads $) $Date: 2004/12/13 06:19:10 $
- Author:
- michaellif
Field Summary |
protected static org.apache.log4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
AbstractInstrumentor
protected AbstractInstrumentor()
- Creates a new AbstractInstrumentor object.
instrument
public boolean instrument(javassist.CtClass clazz)
throws InterceptorException
- DOCUMENT ME!
- Specified by:
instrument
in interface Instrumentor
- Parameters:
clazz
- DOCUMENT ME!
- Returns:
- Returns true if any modification has been made to the class.
- Throws:
InterceptorException
- DOCUMENT ME!
getCountCounstructors
public long getCountCounstructors()
- Specified by:
getCountCounstructors
in interface Instrumentor
- Returns:
- Returns the countCounstructors.
getCountMethods
public long getCountMethods()
- Specified by:
getCountMethods
in interface Instrumentor
- Returns:
- Returns the countMethods.
setPointcuts
public void setPointcuts(PointcutListFilter pointcuts)
- Specified by:
setPointcuts
in interface Instrumentor
instrumentClass
abstract boolean instrumentClass(javassist.CtClass clazz)
throws InterceptorException
- DOCUMENT ME!
- Parameters:
clazz
- DOCUMENT ME!
- Throws:
InterceptorException
- DOCUMENT ME!
instrumentMethod
abstract boolean instrumentMethod(javassist.CtClass clazz,
javassist.CtMethod method)
throws InterceptorException
- DOCUMENT ME!
- Parameters:
clazz
- DOCUMENT ME!method
- DOCUMENT ME!
- Throws:
InterceptorException
- DOCUMENT ME!
instrumentConstructor
abstract boolean instrumentConstructor(javassist.CtClass clazz,
javassist.CtConstructor constructor)
throws InterceptorException
- DOCUMENT ME!
- Parameters:
clazz
- DOCUMENT ME!constructor
- DOCUMENT ME!
- Throws:
InterceptorException
- DOCUMENT ME!
Copyright © 2004 sourceforge. All Rights Reserved.