java.lang.Object
org.easymock.internal.ClassProxyFactory.MockMethodInterceptor
- All Implemented Interfaces:
Serializable
- Enclosing class:
ClassProxyFactory
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
interceptAbstract
(Object obj, ClassMockingData mockingData, Object stubValue, Method method, Object[] args) static Object
interceptSuperCallable
(Object obj, ClassMockingData mockingData, Method method, Object[] args, Callable<?> superCall)
-
Constructor Details
-
MockMethodInterceptor
public MockMethodInterceptor()
-
-
Method Details
-
interceptSuperCallable
@RuntimeType @BindingPriority(2) public static Object interceptSuperCallable(@This Object obj, @FieldValue("$callback") ClassMockingData mockingData, @Origin Method method, @AllArguments Object[] args, @SuperCall(serializableProxy=true) Callable<?> superCall) throws Throwable - Throws:
Throwable
-
interceptAbstract
@RuntimeType public static Object interceptAbstract(@This Object obj, @FieldValue("$callback") ClassMockingData mockingData, @StubValue Object stubValue, @Origin Method method, @AllArguments Object[] args) throws Throwable - Throws:
Throwable
-