Package org.codehaus.groovy.runtime
Class MethodKey
java.lang.Object
org.codehaus.groovy.runtime.MethodKey
- Direct Known Subclasses:
DefaultCachedMethodKey
,DefaultMethodKey
,TemporaryMethodKey
An abstract base class for a key used for comparators and Map keys to lookup a method by
name and parameter types
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates an immutable copy that we can cache.protected int
boolean
boolean
getName()
abstract int
abstract Class
getParameterType
(int index) int
hashCode()
toString()
-
Constructor Details
-
MethodKey
-
-
Method Details
-
createCopy
Creates an immutable copy that we can cache. -
equals
-
equals
-
hashCode
public int hashCode() -
toString
-
getName
-
getParamterTypes
-
getParameterCount
public abstract int getParameterCount() -
getParameterType
-
createHashCode
protected int createHashCode()
-