public final class Jython22Instrumenter extends AbstractDCRInstrumenter
ALL_INSTRUMENTATION| Constructor and Description |
|---|
Jython22Instrumenter(DCRContext context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
createInstrumentedProxy, getContext, instrument, instrumentpublic Jython22Instrumenter(DCRContext context)
context - The DCR context.public String getDescription()
Instrumenter.null for internal Instrumenters.protected void transform(Recorder recorder, org.python.core.PyInstance target) throws NonInstrumentableTypeException
NonInstrumentableTypeExceptionprotected void transform(Recorder recorder, org.python.core.PyFunction target) throws NonInstrumentableTypeException
NonInstrumentableTypeExceptionprotected void transform(Recorder recorder, org.python.core.PyClass target) throws NonInstrumentableTypeException
NonInstrumentableTypeExceptionprotected void transform(Recorder recorder, org.python.core.PyProxy target) throws NonInstrumentableTypeException
NonInstrumentableTypeExceptionprotected void transform(Recorder recorder, org.python.core.PyMethod target) throws NonInstrumentableTypeException
NonInstrumentableTypeExceptionprotected boolean instrument(Object target, Recorder recorder, Test.InstrumentationFilter filter) throws NonInstrumentableTypeException
AbstractDCRInstrumenterinstrument 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
NonInstrumentableTypeExceptionprotected final void transform(Recorder recorder, org.python.core.PyReflectedConstructor target) throws NonInstrumentableTypeException
NonInstrumentableTypeExceptionprotected final void instrumentPublicMethodsByName(Object target, String methodName, Recorder recorder, boolean includeSuperClassMethods) throws NonInstrumentableTypeException
NonInstrumentableTypeExceptionprotected final void instrumentPublicMethodsByName(Class<?> targetClass, Object target, String methodName, Weaver.TargetSource targetSource, Recorder recorder, boolean includeSuperClassMethods) throws NonInstrumentableTypeException
NonInstrumentableTypeExceptionCopyright © 2000-2014. All Rights Reserved.