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 Object An abstract base class for a key used for comparators and Map keys to lookup a method by name and parameter types
- 
- 
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(Object that)booleanequals(MethodKey that)StringgetName()abstract intgetParameterCount()abstract ClassgetParameterType(int index)ListgetParamterTypes()inthashCode()StringtoString()
 
- 
- 
- 
Method Detail- 
createCopypublic MethodKey createCopy() Creates an immutable copy that we can cache.
 - 
equalspublic boolean equals(MethodKey that) 
 - 
getNamepublic String getName() 
 - 
getParamterTypespublic List getParamterTypes() 
 - 
getParameterCountpublic abstract int getParameterCount() 
 - 
getParameterTypepublic abstract Class getParameterType(int index) 
 - 
createHashCodeprotected int createHashCode() 
 
- 
 
-