|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.reflection.ParameterTypes
groovy.lang.MetaMethod
class MetaMethod extends ParameterTypes
Represents a Method on a Java object a little like Method except without using reflection to invoke the method
Field Summary |
---|
Fields inherited from class ParameterTypes | |
---|---|
isVargsMethod, nativeParamTypes, parameterTypes |
Constructor Summary | |
MetaMethod()
|
|
MetaMethod(Class[] pt)
|
Method Summary | |
---|---|
void
|
checkParameters(Class[] arguments)
Checks that the given parameters are valid to call this method |
Object
|
clone()
|
Object
|
doMethodInvoke(Object object, Object[] argumentArray)
|
protected static boolean
|
equal(CachedClass[] a, Class[] b)
|
protected static boolean
|
equal(CachedClass[] a, CachedClass[] b)
|
CachedClass
|
getDeclaringClass()
|
String
|
getDescriptor()
|
int
|
getModifiers()
|
String
|
getMopName()
|
String
|
getName()
|
Class
|
getReturnType()
|
String
|
getSignature()
|
Object
|
invoke(Object object, Object[] arguments)
|
boolean
|
isAbstract()
|
boolean
|
isCacheable()
|
boolean
|
isMethod(MetaMethod method)
|
boolean
|
isPrivate()
|
boolean
|
isProtected()
|
boolean
|
isPublic()
|
boolean
|
isSame(MetaMethod method)
and modifiers but may be defined on another type |
boolean
|
isStatic()
|
RuntimeException
|
processDoMethodInvokeException(Exception e, Object object, Object[] argumentArray)
|
String
|
toString()
|
Methods inherited from class ParameterTypes | |
---|---|
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getPT, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, setParametersTypes |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Constructor Detail |
---|
public MetaMethod()
public MetaMethod(Class[] pt)
Method Detail |
---|
public void checkParameters(Class[] arguments)
public Object clone()
public Object doMethodInvoke(Object object, Object[] argumentArray)
protected static boolean equal(CachedClass[] a, Class[] b)
protected static boolean equal(CachedClass[] a, CachedClass[] b)
public CachedClass getDeclaringClass()
public String getDescriptor()
public int getModifiers()
public String getMopName()
public String getName()
public Class getReturnType()
public String getSignature()
public Object invoke(Object object, Object[] arguments)
public boolean isAbstract()
public boolean isCacheable()
public boolean isMethod(MetaMethod method)
public final boolean isPrivate()
public final boolean isProtected()
public final boolean isPublic()
public final boolean isSame(MetaMethod method)
public boolean isStatic()
public final RuntimeException processDoMethodInvokeException(Exception e, Object object, Object[] argumentArray)
public String toString()
Copyright © 2003-2009 The Codehaus. All rights reserved.