| Package | Description |
|---|---|
| org.mockito.cglib.proxy | |
| org.mockito.internal.creation |
Mock object creation.
|
| Modifier and Type | Method and Description |
|---|---|
static MethodProxy |
MethodProxy.create(Class c1,
Class c2,
String desc,
String name1,
String name2)
For internal use by
Enhancer only; see the FastMethod class
for similar functionality. |
static MethodProxy |
MethodProxy.find(Class type,
Signature sig)
Return the
MethodProxy used when intercepting the method
matching the given signature. |
| Modifier and Type | Method and Description |
|---|---|
Object |
MethodInterceptor.intercept(Object obj,
Method method,
Object[] args,
MethodProxy proxy)
All generated proxied methods call this method instead of the original method.
|
| Modifier and Type | Method and Description |
|---|---|
MethodProxy |
SerializableMockitoMethodProxy.getMethodProxy() |
MethodProxy |
MockitoMethodProxy.getMethodProxy() |
MethodProxy |
DelegatingMockitoMethodProxy.getMethodProxy() |
| Modifier and Type | Method and Description |
|---|---|
MockitoMethodProxy |
MethodInterceptorFilter.createMockitoMethodProxy(MethodProxy methodProxy) |
Object |
MethodInterceptorFilter.intercept(Object proxy,
Method method,
Object[] args,
MethodProxy methodProxy) |
| Constructor and Description |
|---|
DelegatingMockitoMethodProxy(MethodProxy methodProxy) |
SerializableMockitoMethodProxy(MethodProxy methodProxy) |
Copyright © 2018. All rights reserved.