Griffon 1.2.0

org.codehaus.griffon.runtime.util
[Java] Class RunnableWithArgsMetaMethod

java.lang.Object
  org.codehaus.groovy.reflection.ParameterTypes
      groovy.lang.MetaMethod
          org.codehaus.griffon.runtime.util.RunnableWithArgsMetaMethod

public class RunnableWithArgsMetaMethod
extends MetaMethod

Authors:
Andres Almiray
Since:
1.1.0


Field Summary
private Class declaringClass

private String name

private RunnableWithArgs runnable

 
Constructor Summary
RunnableWithArgsMetaMethod(String name, Class declaringClass, RunnableWithArgs runnable, Class[] parameterTypes)

 
Method Summary
CachedClass getDeclaringClass()

int getModifiers()

String getName()

Class getReturnType()

Object invoke(Object object, Object[] arguments)

 
Methods inherited from class MetaMethod
invoke, toString, clone, getModifiers, getName, getDeclaringClass, isMethod, getDescriptor, getReturnType, isAbstract, isProtected, getSignature, isStatic, isPublic, isPrivate, checkParameters, isSame, isCacheable, getMopName, processDoMethodInvokeException, doMethodInvoke, getParameterTypes, getNativeParameterTypes, isValidMethod, isValidMethod, coerceArgumentsToClasses, isVargsMethod, correctArguments, isValidExactMethod, isValidExactMethod, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 
Methods inherited from class ParameterTypes
getParameterTypes, getNativeParameterTypes, isValidMethod, isValidMethod, coerceArgumentsToClasses, isVargsMethod, correctArguments, isValidExactMethod, isValidExactMethod, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

declaringClass

private final Class declaringClass


name

private final String name


runnable

private final RunnableWithArgs runnable


 
Constructor Detail

RunnableWithArgsMetaMethod

public RunnableWithArgsMetaMethod(String name, Class declaringClass, RunnableWithArgs runnable, Class[] parameterTypes)


 
Method Detail

getDeclaringClass

public CachedClass getDeclaringClass()


getModifiers

public int getModifiers()


getName

public String getName()


getReturnType

public Class getReturnType()


invoke

public Object invoke(Object object, Object[] arguments)


 

Groovy Documentation