|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.powermock.api.support.MethodProxy
public class MethodProxy
| Constructor Summary | |
|---|---|
MethodProxy()
|
|
| Method Summary | |
|---|---|
static void |
proxy(java.lang.Class<?> declaringClass,
java.lang.String methodName,
java.lang.reflect.InvocationHandler invocationHandler)
Add a proxy for a method declared in class declaringClass. |
static void |
proxy(java.lang.reflect.Method method,
java.lang.reflect.InvocationHandler invocationHandler)
Add a proxy for this method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodProxy()
| Method Detail |
|---|
public static void proxy(java.lang.reflect.Method method,
java.lang.reflect.InvocationHandler invocationHandler)
public static void proxy(java.lang.Class<?> declaringClass,
java.lang.String methodName,
java.lang.reflect.InvocationHandler invocationHandler)
declaringClass.
Each call to the method will be routed to the invocationHandler instead.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||