[Java] Class TransformMetaMethod
- org.codehaus.groovy.runtime.metaclass.TransformMetaMethod
A MetaMethod implementation useful for implementing coercion based invocations
- Authors:
- James Strachan
Fields inherited from class | Fields |
---|---|
class ParameterTypes | isVargsMethod, nativeParamTypes, parameterTypes |
Constructor Summary
Constructor and description |
---|
TransformMetaMethod
(MetaMethod metaMethod) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
CachedClass |
getDeclaringClass() | |
int |
getModifiers() | |
String |
getName() | |
Class |
getReturnType() | |
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 |
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
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/2.4.21/html/gapi/org/codehaus/groovy/runtime/metaclass/TransformMetaMethod.html