Top Description Fields Constructors Methods
org.codehaus.groovy.runtime.metaclass

public Class NewMetaMethod

extends ReflectionMetaMethod
Class Inheritance
Known Direct Subclasses
org.codehaus.groovy.runtime.metaclass.NewStaticMetaMethod, org.codehaus.groovy.runtime.metaclass.NewInstanceMetaMethod
Imports
org.codehaus.groovy.reflection.CachedClass, .CachedMethod

Base class for NewInstanceMetaMethod and NewStaticMetaMethod

Field Summary

Modifier and TypeField and Description
protected CachedClass[]
protected static final CachedClass[]
Inherited from org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod:
method

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public CachedClass[]
public CachedClass
public CachedClass
Inherited from org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod:
getCachedMethodgetModifiersgetNamegetPTgetReturnTypeinvoketoString

Field Detail

bytecodeParameterTypesback to summary
protected CachedClass[] bytecodeParameterTypes
EMPTY_TYPE_ARRAYback to summary
protected static final CachedClass[] EMPTY_TYPE_ARRAY

Constructor Detail

NewMetaMethodback to summary
public NewMetaMethod(CachedMethod method)

Method Detail

getBytecodeParameterTypesback to summary
public CachedClass[] getBytecodeParameterTypes()
getDeclaringClassback to summary
public CachedClass getDeclaringClass()

Overrides org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.getDeclaringClass.

Doc from groovy.lang.MetaMethod.getDeclaringClass.

Gets the class where this method is declared

Returns:CachedClass

class of this method

getOwnerClassback to summary
public CachedClass getOwnerClass()