Package org.powermock.core
Class MockInvocation
- java.lang.Object
-
- org.powermock.core.MockInvocation
-
class MockInvocation extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.reflect.Method
method
private MethodInvocationControl
methodInvocationControl
private java.lang.String
methodName
private java.lang.Object
object
private java.lang.Class<?>
objectType
private java.lang.Class<?>[]
sig
-
Constructor Summary
Constructors Constructor Description MockInvocation(java.lang.Object object, java.lang.String methodName, java.lang.Class<?>... sig)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.lang.reflect.Method
findMethodToInvoke(java.lang.String methodName, java.lang.Class<?>[] sig, java.lang.Class<?> objectType)
(package private) java.lang.reflect.Method
getMethod()
(package private) MethodInvocationControl
getMethodInvocationControl()
(package private) java.lang.Class<?>
getObjectType()
private void
init()
-
-
-
Field Detail
-
object
private java.lang.Object object
-
methodName
private java.lang.String methodName
-
sig
private java.lang.Class<?>[] sig
-
objectType
private java.lang.Class<?> objectType
-
methodInvocationControl
private MethodInvocationControl methodInvocationControl
-
method
private java.lang.reflect.Method method
-
-
Method Detail
-
init
private void init()
-
getObjectType
java.lang.Class<?> getObjectType()
-
getMethodInvocationControl
MethodInvocationControl getMethodInvocationControl()
-
getMethod
java.lang.reflect.Method getMethod()
-
findMethodToInvoke
private static java.lang.reflect.Method findMethodToInvoke(java.lang.String methodName, java.lang.Class<?>[] sig, java.lang.Class<?> objectType)
-
-