net.sf.jour.instrumentor
Class InstanceCounterInstrumentor

java.lang.Object
  extended bynet.sf.jour.instrumentor.AbstractInstrumentor
      extended bynet.sf.jour.instrumentor.InstanceCounterInstrumentor
All Implemented Interfaces:
Instrumentor, InstrumentorConsts

public class InstanceCounterInstrumentor
extends AbstractInstrumentor
implements InstrumentorConsts

TODO Add docs Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 1.3 $ ($Author: vlads $) $Date: 2004/12/05 02:25:20 $
Author:
vlads

Field Summary
 
Fields inherited from class net.sf.jour.instrumentor.AbstractInstrumentor
log
 
Constructor Summary
InstanceCounterInstrumentor()
           
 
Method Summary
 boolean instrumentClass(javassist.CtClass clazz)
          DOCUMENT ME!
 boolean instrumentConstructor(javassist.CtClass clazz, javassist.CtConstructor constructor)
          DOCUMENT ME!
 boolean instrumentMethod(javassist.CtClass clazz, javassist.CtMethod method)
          DOCUMENT ME!
 
Methods inherited from class net.sf.jour.instrumentor.AbstractInstrumentor
getCountCounstructors, getCountMethods, instrument, setPointcuts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceCounterInstrumentor

public InstanceCounterInstrumentor()
Method Detail

instrumentClass

public boolean instrumentClass(javassist.CtClass clazz)
                        throws InterceptorException
DOCUMENT ME!

Specified by:
instrumentClass in class AbstractInstrumentor
Parameters:
clazz - DOCUMENT ME!
Throws:
InterceptorException - DOCUMENT ME!

instrumentMethod

public boolean instrumentMethod(javassist.CtClass clazz,
                                javassist.CtMethod method)
                         throws InterceptorException
DOCUMENT ME!

Specified by:
instrumentMethod in class AbstractInstrumentor
Parameters:
clazz - DOCUMENT ME!
method - DOCUMENT ME!
Throws:
InterceptorException - DOCUMENT ME!

instrumentConstructor

public boolean instrumentConstructor(javassist.CtClass clazz,
                                     javassist.CtConstructor constructor)
                              throws InterceptorException
DOCUMENT ME!

Specified by:
instrumentConstructor in class AbstractInstrumentor
Parameters:
clazz - DOCUMENT ME!
constructor - DOCUMENT ME!
Throws:
InterceptorException - DOCUMENT ME!


Copyright © 2004 sourceforge. All Rights Reserved.