Class InvocationInfo
java.lang.Object
org.mockito.internal.stubbing.answers.InvocationInfo
- All Implemented Interfaces:
AbstractAwareMethod
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
isValidException
(Throwable throwable) boolean
isValidReturnType
(Class<?> clazz) boolean
isVoid()
boolean
-
Field Details
-
method
-
invocation
-
-
Constructor Details
-
InvocationInfo
-
-
Method Details
-
isValidException
-
isValidReturnType
-
isVoid
public boolean isVoid()Returnstrue
is the return type isVoid
or represents the pseudo-type to the keywordvoid
. E.g:void foo()
orVoid bar()
-
printMethodReturnType
-
getMethodName
-
returnsPrimitive
public boolean returnsPrimitive() -
getMethod
-
isDeclaredOnInterface
public boolean isDeclaredOnInterface() -
isAbstract
public boolean isAbstract()- Specified by:
isAbstract
in interfaceAbstractAwareMethod
-