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