com.advancedpwr.record.mock
Class MockRecordingInvocationHandler
java.lang.Object
com.advancedpwr.record.mock.MockRecordingInvocationHandler
- All Implemented Interfaces:
- InvocationHandler
public class MockRecordingInvocationHandler
- extends Object
- implements InvocationHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fieldTree
protected BehaviorInstanceTree fieldTree
fieldRecorder
protected MockBehaviorRecorder fieldRecorder
MockRecordingInvocationHandler
public MockRecordingInvocationHandler(MockBehaviorRecorder inRecorder,
BehaviorInstanceTree inTree)
debug
protected void debug(Object inObject)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
instrumentArguments
protected Object[] instrumentArguments(Method method,
Object[] args)
instrumentedArray
protected <T> T[] instrumentedArray(T[] inArray)
getSource
protected Object getSource()
getTree
protected BehaviorInstanceTree getTree()
isObjectMethod
protected boolean isObjectMethod(Method method)
getRecorder
protected MockBehaviorRecorder getRecorder()
instrument
protected <T> T instrument(T inObject)
Copyright © 2011 Advanced Power Co. All Rights Reserved.