public static class MockMethodInterceptor.DispatcherDefaultingToRealMethod extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
MockMethodInterceptor.DispatcherDefaultingToRealMethod.FieldGetter<T> |
static interface |
MockMethodInterceptor.DispatcherDefaultingToRealMethod.FieldSetter<T> |
Constructor and Description |
---|
MockMethodInterceptor.DispatcherDefaultingToRealMethod() |
Modifier and Type | Method and Description |
---|---|
static Object |
interceptAbstract(Object mock,
MockMethodInterceptor.DispatcherDefaultingToRealMethod.FieldGetter<MockMethodInterceptor> fieldGetter,
Method invokedMethod,
Object[] arguments) |
static Object |
interceptSuperCallable(Object mock,
MockMethodInterceptor.DispatcherDefaultingToRealMethod.FieldGetter<MockMethodInterceptor> fieldGetter,
Method invokedMethod,
Object[] arguments,
Callable<?> superCall) |
public MockMethodInterceptor.DispatcherDefaultingToRealMethod()
@RuntimeType @BindingPriority(value=2.0) public static Object interceptSuperCallable(@This Object mock, @FieldProxy(value="mockitoInterceptor") MockMethodInterceptor.DispatcherDefaultingToRealMethod.FieldGetter<MockMethodInterceptor> fieldGetter, @Origin Method invokedMethod, @AllArguments Object[] arguments, @SuperCall(serializableProxy=true) Callable<?> superCall) throws Throwable
Throwable
@RuntimeType public static Object interceptAbstract(@This Object mock, @FieldProxy(value="mockitoInterceptor") MockMethodInterceptor.DispatcherDefaultingToRealMethod.FieldGetter<MockMethodInterceptor> fieldGetter, @Origin(cache=true) Method invokedMethod, @AllArguments Object[] arguments) throws Throwable
Throwable