public static final class Definition.MethodKey
extends java.lang.Object
Methods are keyed on both name and arity, and can be overloaded once per arity.
This allows signatures such as String.indexOf(String) vs String.indexOf(String, int).
It is less flexible than full signature overloading where types can differ too, but better than just the name, and overloading types adds complexity to users, too.
| Constructor and Description |
|---|
MethodKey(java.lang.String name,
int arity)
Create a new lookup key
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |