public class InvocationInfo extends Object implements AbstractAwareMethod
| Constructor and Description |
|---|
InvocationInfo(InvocationOnMock 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 InvocationInfo(InvocationOnMock theInvocation)
public boolean isValidException(Throwable throwable)
public boolean isValidReturnType(Class<?> clazz)
public boolean isVoid()
true is the return type is Void or represents the pseudo-type to the keyword void.
E.g: void foo() or Void bar()public String printMethodReturnType()
public String getMethodName()
public boolean returnsPrimitive()
public Method getMethod()
public boolean isDeclaredOnInterface()
public boolean isAbstract()
isAbstract in interface AbstractAwareMethodCopyright © 2024. All rights reserved.