public class MethodKey
extends java.lang.Object
implements java.lang.Comparable
| Constructor and Description |
|---|
MethodKey(JavaMethod pMethod)
Creates a new instance of
MethodKey. |
public MethodKey(JavaMethod pMethod)
MethodKey.public boolean equals(java.lang.Object o)
Returns whether this method key equals the object o.
This is the case, if o != null,
o instanceof MethodKey,
and compareTo(o) == 0.
equals in class java.lang.Objectpublic int compareTo(java.lang.Object o)
Compares this GeneratedMethod to the given GeneratedMethod o.
More precise, compares the method name, the number of parameters
and the class names of the parameters, in that order.
compareTo in interface java.lang.Comparablejava.lang.ClassCastException - The object o is not an instance of MethodKey.public int hashCode()
hashCode in class java.lang.Object