IMockMethodpublic class StaticMockMethod extends java.lang.Object implements IMockMethod
| Constructor | Description |
|---|---|
StaticMockMethod(java.lang.reflect.Method method) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getName() |
Returns the name of the method.
|
java.util.List<java.lang.Class<?>> |
getParameterTypes() |
Returns the parameter types of the method.
|
java.lang.Class<?> |
getReturnType() |
Returns the return type of the method.
|
boolean |
isStatic() |
Tells whether the method is static or an instance method.
|
public java.lang.String getName()
IMockMethodgetName in interface IMockMethodpublic java.util.List<java.lang.Class<?>> getParameterTypes()
IMockMethodObject.getParameterTypes in interface IMockMethodpublic java.lang.Class<?> getReturnType()
IMockMethodObject.getReturnType in interface IMockMethodpublic boolean isStatic()
IMockMethodisStatic in interface IMockMethodCopyright © 2018. All rights reserved