public class MockRecordingInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
| Modifier and Type | Field and Description |
|---|---|
protected MockBehaviorRecorder |
fieldRecorder |
protected BehaviorInstanceTree |
fieldTree |
| Constructor and Description |
|---|
MockRecordingInvocationHandler(MockBehaviorRecorder inRecorder,
BehaviorInstanceTree inTree) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
debug(java.lang.Object inObject) |
protected MockBehaviorRecorder |
getRecorder() |
protected java.lang.Object |
getSource() |
protected BehaviorInstanceTree |
getTree() |
protected <T> T |
instrument(T inObject) |
protected java.lang.Object[] |
instrumentArguments(java.lang.reflect.Method method,
java.lang.Object[] args) |
protected <T> T[] |
instrumentedArray(T[] inArray) |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
protected boolean |
isObjectMethod(java.lang.reflect.Method method) |
protected BehaviorInstanceTree fieldTree
protected MockBehaviorRecorder fieldRecorder
public MockRecordingInvocationHandler(MockBehaviorRecorder inRecorder, BehaviorInstanceTree inTree)
protected void debug(java.lang.Object inObject)
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwableprotected java.lang.Object[] instrumentArguments(java.lang.reflect.Method method,
java.lang.Object[] args)
protected <T> T[] instrumentedArray(T[] inArray)
protected java.lang.Object getSource()
protected BehaviorInstanceTree getTree()
protected boolean isObjectMethod(java.lang.reflect.Method method)
protected MockBehaviorRecorder getRecorder()
protected <T> T instrument(T inObject)