public interface Action
Modifier and Type | Method and Description |
---|---|
Object |
invocation(Object[] arguments,
MethodHandle methodHandle)
Called when an invocation is made.
|
Object invocation(Object[] arguments, MethodHandle methodHandle) throws Throwable
arguments
- The arguments passed to the invoked methodmethodHandle
- A method handle that can optionally be used to invoke the equivalent method
of the mocked/intercepted class.If
- this action represents a method that throws an exception, just throw away.Throwable
Copyright © 2005-2013 Agical AB. All Rights Reserved.