Package org.codehaus.groovy.runtime
Class MethodKey
- java.lang.Object
- 
- org.codehaus.groovy.runtime.MethodKey
 
- 
- Direct Known Subclasses:
- DefaultCachedMethodKey,- DefaultMethodKey,- TemporaryMethodKey
 
 public abstract class MethodKey extends java.lang.ObjectAn abstract base class for a key used for comparators and Map keys to lookup a method by name and parameter types
- 
- 
Constructor SummaryConstructors Constructor Description MethodKey(java.lang.Class sender, java.lang.String name, boolean isCallToSuper)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description MethodKeycreateCopy()Creates an immutable copy that we can cache.protected intcreateHashCode()booleanequals(java.lang.Object that)booleanequals(MethodKey that)java.lang.StringgetName()abstract intgetParameterCount()abstract java.lang.ClassgetParameterType(int index)java.util.ListgetParamterTypes()inthashCode()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
createCopypublic MethodKey createCopy() Creates an immutable copy that we can cache.
 - 
equalspublic boolean equals(java.lang.Object that) - Overrides:
- equalsin class- java.lang.Object
 
 - 
equalspublic boolean equals(MethodKey that) 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
getNamepublic java.lang.String getName() 
 - 
getParamterTypespublic java.util.List getParamterTypes() 
 - 
getParameterCountpublic abstract int getParameterCount() 
 - 
getParameterTypepublic abstract java.lang.Class getParameterType(int index) 
 - 
createHashCodeprotected int createHashCode() 
 
- 
 
-