|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grinder.scriptengine.AbstractDCRInstrumenter
net.grinder.scriptengine.jython.instrumentation.dcr.Jython22Instrumenter
public final class Jython22Instrumenter
DCR instrumenter for Jython 2.1, 2.2.
| Field Summary |
|---|
| Fields inherited from interface net.grinder.scriptengine.Instrumenter |
|---|
ALL_INSTRUMENTATION |
| Constructor Summary | |
|---|---|
Jython22Instrumenter(DCRContext context)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getDescription()
Public description of the Instrumenter. |
protected boolean |
instrument(Object target,
Recorder recorder,
Test.InstrumentationFilter filter)
Hook for sub-class to implement instrumentation. |
protected void |
instrumentPublicMethodsByName(Class<?> targetClass,
Object target,
String methodName,
Weaver.TargetSource targetSource,
Recorder recorder,
boolean includeSuperClassMethods)
|
protected void |
instrumentPublicMethodsByName(Object target,
String methodName,
Recorder recorder,
boolean includeSuperClassMethods)
|
protected void |
transform(Recorder recorder,
org.python.core.PyClass target)
|
protected void |
transform(Recorder recorder,
org.python.core.PyFunction target)
|
protected void |
transform(Recorder recorder,
org.python.core.PyInstance target)
|
protected void |
transform(Recorder recorder,
org.python.core.PyMethod target)
|
protected void |
transform(Recorder recorder,
org.python.core.PyProxy target)
|
protected void |
transform(Recorder recorder,
org.python.core.PyReflectedConstructor target)
|
protected void |
transform(Recorder recorder,
org.python.core.PyReflectedFunction target,
Object instance)
|
| Methods inherited from class net.grinder.scriptengine.AbstractDCRInstrumenter |
|---|
createInstrumentedProxy, getContext, instrument, instrument |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Jython22Instrumenter(DCRContext context)
context - The DCR context.| Method Detail |
|---|
public String getDescription()
Instrumenter.
null for internal Instrumenters.
protected void transform(Recorder recorder,
org.python.core.PyInstance target)
throws NonInstrumentableTypeException
NonInstrumentableTypeException
protected void transform(Recorder recorder,
org.python.core.PyFunction target)
throws NonInstrumentableTypeException
NonInstrumentableTypeException
protected void transform(Recorder recorder,
org.python.core.PyClass target)
throws NonInstrumentableTypeException
NonInstrumentableTypeException
protected void transform(Recorder recorder,
org.python.core.PyProxy target)
throws NonInstrumentableTypeException
NonInstrumentableTypeException
protected void transform(Recorder recorder,
org.python.core.PyMethod target)
throws NonInstrumentableTypeException
NonInstrumentableTypeException
protected boolean instrument(Object target,
Recorder recorder,
Test.InstrumentationFilter filter)
throws NonInstrumentableTypeException
AbstractDCRInstrumenter
instrument in class AbstractDCRInstrumentertarget - Target object.recorder - Recorder.filter - Selects the parts of target to instrument.
true If this instrumenter successfully processed target, otherwise false.
NonInstrumentableTypeException - If the target object is not of an instrumentable type.
protected final void transform(Recorder recorder,
org.python.core.PyReflectedFunction target,
Object instance)
throws NonInstrumentableTypeException
NonInstrumentableTypeException
protected final void transform(Recorder recorder,
org.python.core.PyReflectedConstructor target)
throws NonInstrumentableTypeException
NonInstrumentableTypeException
protected final void instrumentPublicMethodsByName(Object target,
String methodName,
Recorder recorder,
boolean includeSuperClassMethods)
throws NonInstrumentableTypeException
NonInstrumentableTypeException
protected final void instrumentPublicMethodsByName(Class<?> targetClass,
Object target,
String methodName,
Weaver.TargetSource targetSource,
Recorder recorder,
boolean includeSuperClassMethods)
throws NonInstrumentableTypeException
NonInstrumentableTypeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||