org.codehaus.groovy.runtime.metaclass
Class ClosureMetaMethod.MethodClosureMetaMethod

java.lang.Object
  extended by org.codehaus.groovy.reflection.ParameterTypes
      extended by groovy.lang.MetaMethod
          extended by org.codehaus.groovy.runtime.metaclass.ClosureMetaMethod
              extended by org.codehaus.groovy.runtime.metaclass.ClosureMetaMethod.MethodClosureMetaMethod
All Implemented Interfaces:
ClosureInvokingMethod, java.lang.Cloneable
Enclosing class:
ClosureMetaMethod

private static class ClosureMetaMethod.MethodClosureMetaMethod
extends ClosureMetaMethod


Field Summary
 
Fields inherited from class org.codehaus.groovy.reflection.ParameterTypes
isVargsMethod, nativeParamTypes, parameterTypes
 
Constructor Summary
ClosureMetaMethod.MethodClosureMetaMethod(java.lang.String name, java.lang.Class declaringClass, Closure closure, CachedMethod method)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object object, java.lang.Object[] arguments)
           
 
Methods inherited from class org.codehaus.groovy.runtime.metaclass.ClosureMetaMethod
copy, createMethodList, getClosure, getDeclaringClass, getDoCall, getModifiers, getName, getReturnType
 
Methods inherited from class groovy.lang.MetaMethod
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString
 
Methods inherited from class org.codehaus.groovy.reflection.ParameterTypes
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, getPT, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, setParametersTypes
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface groovy.lang.ClosureInvokingMethod
isStatic
 

Constructor Detail

ClosureMetaMethod.MethodClosureMetaMethod

public ClosureMetaMethod.MethodClosureMetaMethod(java.lang.String name,
                                                 java.lang.Class declaringClass,
                                                 Closure closure,
                                                 CachedMethod method)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object object,
                               java.lang.Object[] arguments)
Overrides:
invoke in class ClosureMetaMethod


Copyright © ${year} The Codehaus. All Rights Reserved.