(Inital implementation)
- Version:
- $Revision: 1.5 $ ($Author: vlads $) $Date: 2004/12/13 06:19:10 $
- Author:
- michaellif
Field Summary |
(package private) java.lang.String |
className
DOCUMENT ME! |
(package private) Instrumentor[] |
instrumentors
DOCUMENT ME! |
(package private) boolean |
modified
Flag any modification to class. |
(package private) javassist.ClassPool |
pool
DOCUMENT ME! |
Constructor Summary |
Interceptor(javassist.ClassPool pool,
java.lang.String className,
Instrumentor[] instrumentors)
Creates a new Interceptor object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pool
javassist.ClassPool pool
- DOCUMENT ME!
className
java.lang.String className
- DOCUMENT ME!
instrumentors
Instrumentor[] instrumentors
- DOCUMENT ME!
modified
boolean modified
- Flag any modification to class.
Interceptor
public Interceptor(javassist.ClassPool pool,
java.lang.String className,
Instrumentor[] instrumentors)
throws InterceptorException
- Creates a new Interceptor object.
- Parameters:
pool
- DOCUMENT ME!className
- DOCUMENT ME!instrumentors
- DOCUMENT ME!
- Throws:
InterceptorException
- DOCUMENT ME!
instrument
public byte[] instrument(byte[] bytes)
throws InterceptorException
- DOCUMENT ME!
- Parameters:
bytes
- DOCUMENT ME!
- Returns:
- DOCUMENT ME!
- Throws:
InterceptorException
- DOCUMENT ME!
instrument
public javassist.CtClass instrument()
throws InterceptorException
- DOCUMENT ME!
- Returns:
- DOCUMENT ME!
- Throws:
InterceptorException
- DOCUMENT ME!
isModified
public boolean isModified()
- Returns:
- Returns true if any modification has been made to the class.
getCountCounstructors
public long getCountCounstructors()
- Returns:
- Returns the countCounstructors.
getCountMethods
public long getCountMethods()
- Returns:
- Returns the countMethods.
Copyright © 2004 sourceforge. All Rights Reserved.