Class MockMethodInterceptor.DispatcherDefaultingToRealMethod
- java.lang.Object
-
- org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.DispatcherDefaultingToRealMethod
-
- Enclosing class:
- MockMethodInterceptor
public static class MockMethodInterceptor.DispatcherDefaultingToRealMethod extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DispatcherDefaultingToRealMethod()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
interceptAbstract(java.lang.Object mock, MockMethodInterceptor interceptor, java.lang.Object stubValue, java.lang.reflect.Method invokedMethod, java.lang.Object[] arguments)
static java.lang.Object
interceptSuperCallable(java.lang.Object mock, MockMethodInterceptor interceptor, java.lang.reflect.Method invokedMethod, java.lang.Object[] arguments, java.util.concurrent.Callable<?> superCall)
-
-
-
Method Detail
-
interceptSuperCallable
@RuntimeType @BindingPriority(2) public static java.lang.Object interceptSuperCallable(@This java.lang.Object mock, @FieldValue("mockitoInterceptor") MockMethodInterceptor interceptor, @Origin java.lang.reflect.Method invokedMethod, @AllArguments java.lang.Object[] arguments, @SuperCall(serializableProxy=true) java.util.concurrent.Callable<?> superCall) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
interceptAbstract
@RuntimeType public static java.lang.Object interceptAbstract(@This java.lang.Object mock, @FieldValue("mockitoInterceptor") MockMethodInterceptor interceptor, @StubValue java.lang.Object stubValue, @Origin java.lang.reflect.Method invokedMethod, @AllArguments java.lang.Object[] arguments) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-