Griffon 1.2.0

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

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

public class CallableWithArgsMetaMethod
extends MetaMethod

Authors:
Andres Almiray
Since:
1.1.0


Field Summary
private CallableWithArgs callable

private Class declaringClass

private String name

 
Constructor Summary
CallableWithArgsMetaMethod(String name, Class declaringClass, CallableWithArgs callable, 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

callable

private final CallableWithArgs callable


declaringClass

private final Class declaringClass


name

private final String name


 
Constructor Detail

CallableWithArgsMetaMethod

public CallableWithArgsMetaMethod(String name, Class declaringClass, CallableWithArgs callable, 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