Save This Page
Home » groovy-src-1.6.3 » groovy » lang » [javadoc | source]
groovy.lang
abstract public class: MetaMethod [javadoc | source]
java.lang.Object
   org.codehaus.groovy.reflection.ParameterTypes
      groovy.lang.MetaMethod

All Implemented Interfaces:
    Cloneable

Direct Known Subclasses:
    ByteArrayGetAtMetaMethod, IntegerArrayPutAtMetaMethod, NewInstanceMetaMethod, NewMetaMethod, IntegerArrayGetAtMetaMethod, CallSiteAwareMetaMethod, NumberNumberDiv, ArrayMetaMethod, DummyMetaMethod, NewStaticMetaMethod, ArrayPutAtMetaMethod, CachedMethod, ArrayGetAtMetaMethod, ShortArrayGetAtMetaMethod, DoubleArrayGetAtMetaMethod, ReflectionMetaMethod, ShortArrayPutAtMetaMethod, CategoryMethod, FloatArrayGetAtMetaMethod, ThreadBoundGetter, NumberNumberMinus, LongArrayGetAtMetaMethod, FloatArrayPutAtMetaMethod, CharacterArrayPutAtMetaMethod, DoubleArrayPutAtMetaMethod, LongArrayPutAtMetaMethod, MixinInstanceMetaMethod, TransformMetaMethod, BooleanArrayPutAtMetaMethod, ByteArrayPutAtMetaMethod, ObjectArrayGetAtMetaMethod, GeneratedMetaMethod, NumberNumberPlus, ObjectArrayPutAtMetaMethod, NumberNumberMetaMethod, NumberNumberMultiply, MethodClosureMetaMethod, BooleanArrayGetAtMetaMethod, ThreadBoundSetter, ClosureStaticMetaMethod, CharacterArrayGetAtMetaMethod, ClosureMetaMethod

Represents a Method on a Java object a little like java.lang.reflect.Method except without using reflection to invoke the method
Fields inherited from org.codehaus.groovy.reflection.ParameterTypes:
nativeParamTypes,  parameterTypes,  isVargsMethod
Constructor:
 public MetaMethod() 
 public MetaMethod(Class[] pt) 
Method from groovy.lang.MetaMethod Summary:
checkParameters,   clone,   doMethodInvoke,   equal,   equal,   getDeclaringClass,   getDescriptor,   getModifiers,   getMopName,   getName,   getReturnType,   getSignature,   invoke,   isAbstract,   isCacheable,   isMethod,   isPrivate,   isProtected,   isPublic,   isSame,   isStatic,   processDoMethodInvokeException,   toString
Methods from org.codehaus.groovy.reflection.ParameterTypes:
coerceArgumentsToClasses,   correctArguments,   getNativeParameterTypes,   getPT,   getParameterTypes,   isValidExactMethod,   isValidExactMethod,   isValidMethod,   isValidMethod,   isVargsMethod,   setParametersTypes
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from groovy.lang.MetaMethod Detail:
 public  void checkParameters(Class[] arguments) 
    Checks that the given parameters are valid to call this method
 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) 
 abstract public CachedClass getDeclaringClass()
 public String getDescriptor() 
 abstract public int getModifiers()
 public String getMopName() 
 abstract public String getName()
 abstract public Class getReturnType()
 public synchronized String getSignature() 
 abstract 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()