public class MethodInfo extends java.lang.Object implements AbstractAwareMethod
Constructor and Description |
---|
MethodInfo(Invocation theInvocation) |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Method |
getMethod() |
java.lang.String |
getMethodName() |
boolean |
isAbstract() |
boolean |
isDeclaredOnInterface() |
boolean |
isValidException(java.lang.Throwable throwable) |
boolean |
isValidReturnType(java.lang.Class clazz) |
boolean |
isVoid() |
java.lang.String |
printMethodReturnType() |
boolean |
returnsPrimitive() |
public MethodInfo(Invocation theInvocation)
public boolean isValidException(java.lang.Throwable throwable)
public boolean isValidReturnType(java.lang.Class clazz)
public boolean isVoid()
public java.lang.String printMethodReturnType()
public java.lang.String getMethodName()
public boolean returnsPrimitive()
public java.lang.reflect.Method getMethod()
public boolean isDeclaredOnInterface()
public boolean isAbstract()
isAbstract
in interface AbstractAwareMethod