Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mockito.internal.stubbing.answers
Class MethodInfo

    java.lang.Object
      org.mockito.internal.stubbing.answers.MethodInfo

    public class MethodInfo

extends java.lang.Object

by Szczepan Faber, created at: 3/31/12

Constructor Summary
`MethodInfo(Invocation theInvocation)`

Method Summary
`java.lang.reflect.Method` | `getMethod()`
`java.lang.String` | `getMethodName()`
`boolean` | `isDeclaredOnInterface()`
`boolean` | `isValidException(java.lang.Throwable throwable)`
`boolean` | `isValidReturnType(java.lang.Class clazz)`
`boolean` | `isVoid()`
`java.lang.String` | `printMethodReturnType()`
`boolean` | `returnsPrimitive()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MethodInfo

    public MethodInfo(Invocation theInvocation)

Method Detail

### isValidException

    public boolean isValidException(java.lang.Throwable throwable)

### isValidReturnType

    public boolean isValidReturnType(java.lang.Class clazz)

### isVoid

    public boolean isVoid()

### printMethodReturnType

    public java.lang.String printMethodReturnType()

### getMethodName

    public java.lang.String getMethodName()

### returnsPrimitive

    public boolean returnsPrimitive()

### getMethod

    public java.lang.reflect.Method getMethod()

### isDeclaredOnInterface

    public boolean isDeclaredOnInterface()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD