org.codehaus.groovy.runtime
Class TransformMetaMethod

java.lang.Object
  extended bygroovy.lang.MetaMethod
      extended byorg.codehaus.groovy.runtime.TransformMetaMethod
All Implemented Interfaces:
java.lang.Cloneable

public class TransformMetaMethod
extends MetaMethod

A MetaMethod implementation useful for implementing coercion based invocations

Version:
$Revision: 1.1 $
Author:
James Strachan

Constructor Summary
TransformMetaMethod(MetaMethod metaMethod)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object object, java.lang.Object[] arguments)
           
 
Methods inherited from class groovy.lang.MetaMethod
checkParameters, clone, compatibleModifiers, equal, getDeclaringClass, getInterfaceClass, getMethodIndex, getModifiers, getName, getParameterTypes, getReflector, getReturnType, isMethod, isPrivate, isProtected, isSame, isStatic, setInterfaceClass, setMethodIndex, setReflector, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransformMetaMethod

public TransformMetaMethod(MetaMethod metaMethod)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object object,
                               java.lang.Object[] arguments)
                        throws java.lang.Exception
Overrides:
invoke in class MetaMethod
Throws:
java.lang.Exception


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