|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An abstract base class for a key used for comparators and Map keys to lookup a method by name and parameter types
Field Summary | |
---|---|
int |
hash
|
boolean |
isCallToSuper
|
String |
name
|
Class |
sender
|
Constructor Summary | |
MethodKey(Class sender, String name, boolean isCallToSuper)
|
Method Summary | |
---|---|
MethodKey |
createCopy()
Creates an immutable copy that we can cache. |
int |
createHashCode()
|
boolean |
equals(Object that)
|
boolean |
equals(MethodKey that)
|
String |
getName()
|
int |
getParameterCount()
|
Class |
getParameterType(int index)
|
List |
getParamterTypes()
|
int |
hashCode()
|
String |
toString()
|
Constructor Detail |
---|
public MethodKey(Class sender, String name, boolean isCallToSuper)
Method Detail |
---|
public MethodKey createCopy()
int createHashCode()
public boolean equals(Object that)
public boolean equals(MethodKey that)
public String getName()
public int getParameterCount()
public Class getParameterType(int index)
public List getParamterTypes()
public int hashCode()
public String toString()