Top Description Fields Constructors Methods
org.codehaus.groovy.runtime.metaclass

public Class TemporaryMethodKey

extends MethodKey
Class Inheritance
Imports
org.codehaus.groovy.runtime.MetaClassHelper, .MethodKey

A temporary implementation of MethodKey used to perform a fast lookup for a method using a set of arguments to a method

Field Summary

Modifier and TypeField and Description
private final Object[]

Constructor Summary

AccessConstructor and Description
public
TemporaryMethodKey(Class<T> sender, String name, Object[] parameterValues, boolean isCallToSuper)

Method Summary

Modifier and TypeMethod and Description
public int
public Class<T>
Inherited from org.codehaus.groovy.runtime.MethodKey:
createCopycreateHashCodeequalsequalsgetNamegetParamterTypeshashCodetoString

Field Detail

parameterValuesback to summary
private final Object[] parameterValues

Constructor Detail

TemporaryMethodKeyback to summary
public TemporaryMethodKey(Class<T> sender, String name, Object[] parameterValues, boolean isCallToSuper)

Method Detail

getParameterCountback to summary
public int getParameterCount()

Implements abstract org.codehaus.groovy.runtime.MethodKey.getParameterCount.

getParameterTypeback to summary
public Class<T> getParameterType(int index)

Implements abstract org.codehaus.groovy.runtime.MethodKey.getParameterType.