public class SignaturePattern
extends java.lang.Object
Constructor and Description |
---|
SignaturePattern() |
Modifier and Type | Method and Description |
---|---|
void |
addParam(java.lang.String typeName)
Adds a method parameter.
|
void |
addText(java.lang.String methodName) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isMatch(java.lang.reflect.Method method) |
boolean |
isMatch(java.lang.String methodName,
java.lang.Class[] params) |
void |
setHasParams()
Sets the parameters to zero to distinguish between
methods with zero arguments and methods which don't
specify the requirements.
|
java.lang.String |
toString() |
public void addText(java.lang.String methodName) throws ConfigException
ConfigException
public void addParam(java.lang.String typeName)
public void setHasParams()
public boolean isMatch(java.lang.reflect.Method method)
public boolean isMatch(java.lang.String methodName, java.lang.Class[] params)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object