public class StaticMockMethod extends java.lang.Object implements IMockMethod
Constructor and Description |
---|
StaticMockMethod(java.lang.reflect.Method method) |
Modifier and Type | Method and 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()
IMockMethod
getName
in interface IMockMethod
public java.util.List<java.lang.Class<?>> getParameterTypes()
IMockMethod
Object
.getParameterTypes
in interface IMockMethod
public java.lang.Class<?> getReturnType()
IMockMethod
Object
.getReturnType
in interface IMockMethod
public boolean isStatic()
IMockMethod
isStatic
in interface IMockMethod
Copyright © 2019. All rights reserved