[Java] Class ReflectionMetaMethod

  • org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod
public class ReflectionMetaMethod
extends MetaMethod

Field Summary

Fields
Modifiers Name Description
protected CachedMethod method
Inherited fields
Fields inherited from class Fields
class MetaMethod EMPTY_ARRAY
class ParameterTypes isVargsMethod, nativeParamTypes, parameterTypes

Constructor Summary

Constructors
Constructor and description
ReflectionMetaMethod (CachedMethod method)

Methods Summary

Methods
Type Params Return Type Name and description
public MetaMethod getCachedMethod()
public CachedClass getDeclaringClass()
public int getModifiers()
public String getName()
protected Class[] getPT()
public Class getReturnType()
public Object invoke(Object object, Object[] arguments)
public String toString()

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
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

Field Detail

protected final CachedMethod method

Constructor Detail

public ReflectionMetaMethod(CachedMethod method)

Method Detail

public MetaMethod getCachedMethod()

public CachedClass getDeclaringClass()

public int getModifiers()

public String getName()

protected Class[] getPT()

public Class getReturnType()

public Object invoke(Object object, Object[] arguments)

public String toString()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/runtime/metaclass/ReflectionMetaMethod.html