Package org.codehaus.groovy.reflection
Class GeneratedMetaMethod
java.lang.Object
org.codehaus.groovy.reflection.ParameterTypes
groovy.lang.MetaMethod
org.codehaus.groovy.reflection.GeneratedMetaMethod
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- GeneratedMetaMethod.Proxy
public abstract class GeneratedMetaMethod extends MetaMethod
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGeneratedMetaMethod.DgmMethodRecordstatic classGeneratedMetaMethod.Proxy
- 
Field SummaryFields inherited from class groovy.lang.MetaMethodEMPTY_ARRAYFields inherited from class org.codehaus.groovy.reflection.ParameterTypesisVargsMethod, nativeParamTypes, parameterTypes
- 
Constructor SummaryConstructors Constructor Description GeneratedMetaMethod(java.lang.String name, CachedClass declaringClass, java.lang.Class returnType, java.lang.Class[] parameters)
- 
Method SummaryModifier and Type Method Description CachedClassgetDeclaringClass()Gets the class where this method is declaredintgetModifiers()Returns the modifiers for this methodjava.lang.StringgetName()Returns the name of the method represented by this classjava.lang.ClassgetReturnType()Access the return type for this methodMethods inherited from class groovy.lang.MetaMethodcheckParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, invoke, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toStringMethods inherited from class org.codehaus.groovy.reflection.ParameterTypescoerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, getPT, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypesMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- 
Constructor Details- 
GeneratedMetaMethodpublic GeneratedMetaMethod(java.lang.String name, CachedClass declaringClass, java.lang.Class returnType, java.lang.Class[] parameters)
 
- 
- 
Method Details- 
getModifierspublic int getModifiers()Description copied from class:MetaMethodReturns the modifiers for this method- Specified by:
- getModifiersin class- MetaMethod
- Returns:
- modifiers as an int.
 
- 
getNamepublic java.lang.String getName()Description copied from class:MetaMethodReturns the name of the method represented by this class- Specified by:
- getNamein class- MetaMethod
- Returns:
- name of this method
 
- 
getReturnTypepublic java.lang.Class getReturnType()Description copied from class:MetaMethodAccess the return type for this method- Specified by:
- getReturnTypein class- MetaMethod
- Returns:
- the return type of this method
 
- 
getDeclaringClassDescription copied from class:MetaMethodGets the class where this method is declared- Specified by:
- getDeclaringClassin class- MetaMethod
- Returns:
- class of this method
 
 
-