[Java] Class TransformMetaMethod
- org.codehaus.groovy.runtime.metaclass.TransformMetaMethod
public class TransformMetaMethod extends MetaMethod
A MetaMethod implementation useful for implementing coercion based invocations
Fields inherited from class | Fields |
---|---|
class MetaMethod | EMPTY_ARRAY |
class ParameterTypes | isVargsMethod, nativeParamTypes, parameterTypes |
Constructor Summary
Constructor and description |
---|
TransformMetaMethod
(MetaMethod metaMethod) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public CachedClass |
getDeclaringClass() | |
public int |
getModifiers() | |
public String |
getName() | |
public Class |
getReturnType() | |
public Object |
invoke(Object object, Object[] arguments) |
Inherited Methods Summary
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 |
Constructor Detail
public TransformMetaMethod(MetaMethod metaMethod)
Method Detail
public CachedClass getDeclaringClass()
public int getModifiers()
public String getName()
public Class getReturnType()
public Object invoke(Object object, Object[] arguments)
© 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/TransformMetaMethod.html