org.codehaus.groovy.runtime
Class DefaultMethodKey

java.lang.Object
  extended byorg.codehaus.groovy.runtime.MethodKey
      extended byorg.codehaus.groovy.runtime.DefaultMethodKey

public class DefaultMethodKey
extends MethodKey

A default implementation of MethodKey

Version:
$Revision: 1.1 $
Author:
James Strachan

Field Summary
private  java.lang.Class[] parameterTypes
           
 
Fields inherited from class org.codehaus.groovy.runtime.MethodKey
 
Constructor Summary
DefaultMethodKey(java.lang.String name, java.lang.Class[] parameterTypes)
           
 
Method Summary
 int getParameterCount()
           
 java.lang.Class getParameterType(int index)
           
 
Methods inherited from class org.codehaus.groovy.runtime.MethodKey
createCopy, createHashCode, equals, equals, getName, getParamterTypes, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

parameterTypes

private java.lang.Class[] parameterTypes
Constructor Detail

DefaultMethodKey

public DefaultMethodKey(java.lang.String name,
                        java.lang.Class[] parameterTypes)
Method Detail

getParameterCount

public int getParameterCount()
Specified by:
getParameterCount in class MethodKey

getParameterType

public java.lang.Class getParameterType(int index)
Specified by:
getParameterType in class MethodKey


Copyright © 2003-2005 The Codehaus. All Rights Reserved.