org.codehaus.groovy.runtime.metaclass
Class NewMetaMethod

java.lang.Object
  extended by groovy.lang.MetaMethod
      extended by org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod
          extended by 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
           
protected  ParameterTypes paramTypes
           
 
Fields inherited from class org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod
method
 
Constructor Summary
NewMetaMethod(CachedMethod method)
           
 
Method Summary
 CachedClass[] getBytecodeParameterTypes()
           
 CachedClass getDeclaringClass()
           
 CachedClass getOwnerClass()
           
 ParameterTypes getParamTypes()
           
 
Methods inherited from class org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod
getModifiers, getName, getReturnType, invoke, isMethod, toString
 
Methods inherited from class groovy.lang.MetaMethod
checkParameters, clone, equal, equal, getDescriptor, getMopName, getNativeParameterTypes, getParameterTypes, getSignature, isCacheable, isPrivate, isProtected, isPublic, isSame, isStatic
 
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

paramTypes

protected ParameterTypes paramTypes
Constructor Detail

NewMetaMethod

public NewMetaMethod(CachedMethod method)
Method Detail

getParamTypes

public ParameterTypes getParamTypes()
Overrides:
getParamTypes in class ReflectionMetaMethod

getDeclaringClass

public CachedClass getDeclaringClass()
Overrides:
getDeclaringClass in class ReflectionMetaMethod

getBytecodeParameterTypes

public CachedClass[] getBytecodeParameterTypes()

getOwnerClass

public CachedClass getOwnerClass()

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