public class SerializableMethod extends Object implements Serializable, MockitoMethod
Constructor and Description |
---|
SerializableMethod(Method method) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Class<?>[] |
getExceptionTypes() |
Method |
getJavaMethod() |
String |
getName() |
Class<?>[] |
getParameterTypes() |
Class<?> |
getReturnType() |
int |
hashCode() |
boolean |
isAbstract() |
boolean |
isVarArgs() |
public SerializableMethod(Method method)
public String getName()
getName
in interface MockitoMethod
public Class<?> getReturnType()
getReturnType
in interface MockitoMethod
public Class<?>[] getParameterTypes()
getParameterTypes
in interface MockitoMethod
public Class<?>[] getExceptionTypes()
getExceptionTypes
in interface MockitoMethod
public boolean isVarArgs()
isVarArgs
in interface MockitoMethod
public boolean isAbstract()
isAbstract
in interface AbstractAwareMethod
public Method getJavaMethod()
getJavaMethod
in interface MockitoMethod