public class MethodSignature extends Object
method invoker attempt
.Constructor and Description |
---|
MethodSignature(String methodName)
Creates a method signature with no parameters.
|
MethodSignature(String methodName,
Parameter parameter)
Creates a method signature with a single parameter.
|
MethodSignature(String methodName,
Parameters parameters)
Creates a method signature with a list of parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getMethodName()
Returns the method name.
|
Parameters |
getParameters()
Returns the method parameters.
|
int |
hashCode() |
String |
toString() |
public MethodSignature(String methodName)
methodName
- the name of the methodpublic MethodSignature(String methodName, Parameter parameter)
methodName
- the name of the methodparameter
- the method parameterpublic MethodSignature(String methodName, Parameters parameters)
methodName
- the name of the methodparameters
- the method parameterspublic String getMethodName()
public Parameters getParameters()