public class DelegatingMethod extends java.lang.Object implements MockitoMethod
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Method |
method |
private java.lang.Class<?>[] |
parameterTypes |
Constructor and Description |
---|
DelegatingMethod(java.lang.reflect.Method method) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Class<?>[] |
getExceptionTypes() |
java.lang.reflect.Method |
getJavaMethod() |
java.lang.String |
getName() |
java.lang.Class<?>[] |
getParameterTypes() |
java.lang.Class<?> |
getReturnType() |
int |
hashCode() |
boolean |
isAbstract() |
boolean |
isVarArgs() |
private final java.lang.reflect.Method method
private final java.lang.Class<?>[] parameterTypes
public java.lang.Class<?>[] getExceptionTypes()
getExceptionTypes
in interface MockitoMethod
public java.lang.reflect.Method getJavaMethod()
getJavaMethod
in interface MockitoMethod
public java.lang.String getName()
getName
in interface MockitoMethod
public java.lang.Class<?>[] getParameterTypes()
getParameterTypes
in interface MockitoMethod
public java.lang.Class<?> getReturnType()
getReturnType
in interface MockitoMethod
public boolean isVarArgs()
isVarArgs
in interface MockitoMethod
public boolean isAbstract()
isAbstract
in interface AbstractAwareMethod
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object