org.mockito.internal.stubbing.answers
public class MethodInfo extends Object implements AbstractAwareMethod
Constructor and Description |
---|
MethodInfo(Invocation theInvocation) |
Modifier and Type | Method and Description |
---|---|
Method |
getMethod() |
String |
getMethodName() |
boolean |
isAbstract() |
boolean |
isDeclaredOnInterface() |
boolean |
isValidException(Throwable throwable) |
boolean |
isValidReturnType(Class<?> clazz) |
boolean |
isVoid() |
String |
printMethodReturnType() |
boolean |
returnsPrimitive() |
public MethodInfo(Invocation theInvocation)
public boolean isValidException(Throwable throwable)
public boolean isValidReturnType(Class<?> clazz)
public boolean isVoid()
public String printMethodReturnType()
public String getMethodName()
public boolean returnsPrimitive()
public Method getMethod()
public boolean isDeclaredOnInterface()
public boolean isAbstract()
isAbstract
in interface AbstractAwareMethod