[Java] Class NewMetaMethod
- org.codehaus.groovy.runtime.metaclass.NewMetaMethod
Base class for NewInstanceMetaMethod and NewStaticMetaMethod
Field Summary
Modifiers | Name | Description |
---|---|---|
protected static CachedClass[] | EMPTY_TYPE_ARRAY | |
protected CachedClass[] | bytecodeParameterTypes |
Fields inherited from class | Fields |
---|---|
class ReflectionMetaMethod | method |
class ParameterTypes | isVargsMethod, nativeParamTypes, parameterTypes |
Constructor Summary
Constructor and description |
---|
NewMetaMethod
(CachedMethod method) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
CachedClass[] |
getBytecodeParameterTypes() | |
CachedClass |
getDeclaringClass() | |
CachedClass |
getOwnerClass() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class ReflectionMetaMethod | getCachedMethod, getDeclaringClass, getModifiers, getName, getPT, getReturnType, invoke, toString |
class MetaMethod | checkParameters, clone, doMethodInvoke, equal, equal, getDeclaringClass, getDescriptor, getModifiers, getMopName, getName, getReturnType, getSignature, invoke, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString |
class ParameterTypes | coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getPT, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes |
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
protected static final CachedClass[] EMPTY_TYPE_ARRAY
protected CachedClass[] bytecodeParameterTypes
Constructor Detail
public NewMetaMethod(CachedMethod method)
Method Detail
public CachedClass[] getBytecodeParameterTypes()
public CachedClass getDeclaringClass()
public CachedClass getOwnerClass()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/runtime/metaclass/NewMetaMethod.html