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:
java.lang.Cloneable
- Direct Known Subclasses:
NewInstanceMetaMethod,NewStaticMetaMethod
public class NewMetaMethod extends ReflectionMetaMethod
Base class for NewInstanceMetaMethod and NewStaticMetaMethod
-
Field Summary
Fields Modifier and Type Field Description protected CachedClass[]bytecodeParameterTypesprotected static CachedClass[]EMPTY_TYPE_ARRAYFields inherited from class org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod
methodFields inherited from class groovy.lang.MetaMethod
EMPTY_ARRAYFields inherited from class org.codehaus.groovy.reflection.ParameterTypes
isVargsMethod, nativeParamTypes, parameterTypes -
Constructor Summary
Constructors Constructor Description NewMetaMethod(CachedMethod method) -
Method Summary
Modifier and Type Method Description CachedClass[]getBytecodeParameterTypes()CachedClassgetDeclaringClass()Gets the class where this method is declaredCachedClassgetOwnerClass()Methods inherited from class org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod
getCachedMethod, getModifiers, getName, getPT, getReturnType, invoke, toStringMethods inherited from class groovy.lang.MetaMethod
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeExceptionMethods inherited from class org.codehaus.groovy.reflection.ParameterTypes
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypesMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
EMPTY_TYPE_ARRAY
-
bytecodeParameterTypes
-
-
Constructor Details
-
NewMetaMethod
-
-
Method Details
-
getDeclaringClass
Description copied from class:MetaMethodGets the class where this method is declared- Overrides:
getDeclaringClassin classReflectionMetaMethod- Returns:
- class of this method
-
getBytecodeParameterTypes
-
getOwnerClass
-