## org.codehaus.groovy.runtime.metaclass
Class NewMetaMethod

    java.lang.Object
      org.codehaus.groovy.reflection.ParameterTypes
          groovy.lang.MetaMethod
              org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod
                  org.codehaus.groovy.runtime.metaclass.NewMetaMethod

All Implemented Interfaces:
  Cloneable

Direct Known Subclasses:
  NewInstanceMetaMethod, NewStaticMetaMethod

    public class NewMetaMethod

extends ReflectionMetaMethod

Base class for NewInstanceMetaMethod and NewStaticMetaMethod

Field Summary
`protected CachedClass[]` `bytecodeParameterTypes`
`protected static CachedClass[]` `EMPTY_TYPE_ARRAY`

Fields inherited from class org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod
`method`

Fields inherited from class org.codehaus.groovy.reflection.ParameterTypes
`isVargsMethod, nativeParamTypes, parameterTypes`

Constructor Summary
`NewMetaMethod(CachedMethod method)`

Method Summary
`CachedClass[]` `getBytecodeParameterTypes()`
`CachedClass` `getDeclaringClass()`
`CachedClass` `getOwnerClass()`

Methods inherited from class org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod
`getModifiers, getName, getPT, getReturnType, invoke, toString`

Methods inherited from class groovy.lang.MetaMethod
`checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException`

Methods inherited from class org.codehaus.groovy.reflection.ParameterTypes
`coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, setParametersTypes`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### EMPTY_TYPE_ARRAY

    protected static final CachedClass[] EMPTY_TYPE_ARRAY

### bytecodeParameterTypes

    protected CachedClass[] bytecodeParameterTypes

Constructor Detail

### NewMetaMethod

    public NewMetaMethod(CachedMethod method)

Method Detail

### getDeclaringClass

    public CachedClass getDeclaringClass()

  Overrides:
    `getDeclaringClass` in class `ReflectionMetaMethod`

### getBytecodeParameterTypes

    public CachedClass[] getBytecodeParameterTypes()

### getOwnerClass

    public CachedClass getOwnerClass()

Copyright © 2003-2009 The Codehaus. All rights reserved.