public static class PogoMetaMethodSite.PogoCachedMethodSite
extends PogoMetaMethodSite
POGO site that invokes a reflected Method.
invoke still unwraps the arguments and coerces them with
MetaMethod.coerceArgumentsToClasses before
PlainObjectMetaMethodSite.doInvoke. Category, meta-class
identity, version, and argument-class checks stay those of
PogoMetaMethodSite.
| Fields inherited from class | Fields |
|---|---|
class MetaMethodSite |
params |
class MetaClassSite |
metaClass |
class AbstractCallSite |
array, index, name |
| Constructor and description |
|---|
PogoCachedMethodSite(CallSite site, MetaClassImpl metaClass, CachedMethod metaMethod, Class[] params)Passes metaMethod through the VM plugin
transformMetaMethod and stores the Method from
CachedMethod.setAccessible. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Object |
invoke(Object receiver, Object[] args)Unwraps args, coerces them with
MetaMethod.coerceArgumentsToClasses, and invokes
the reflected method through PlainObjectMetaMethodSite.doInvoke.
|
| Methods inherited from class | Name |
|---|---|
class PogoMetaMethodSite |
call, callCurrent, checkCall, checkCall, checkCall, checkCall, checkCall, checkCall, createCachedMethodSite, createPogoMetaMethodSite, invoke |
class PlainObjectMetaMethodSite |
doInvoke |
class AbstractCallSite |
acceptGetProperty, acceptGroovyObjectGetProperty, call, call, call, call, call, call, callConstructor, callConstructor, callConstructor, callConstructor, callConstructor, callConstructor, callCurrent, callCurrent, callCurrent, callCurrent, callCurrent, callCurrent, callGetProperty, callGetPropertySafe, callGroovyObjectGetProperty, callGroovyObjectGetPropertySafe, callSafe, callSafe, callSafe, callSafe, callSafe, callSafe, callStatic, callStatic, callStatic, callStatic, callStatic, callStatic, createGetPropertySite, createGroovyObjectGetPropertySite, getArray, getIndex, getName, getProperty |
Passes metaMethod through the VM plugin
transformMetaMethod and stores the Method from
CachedMethod.setAccessible.
Unwraps args, coerces them with
MetaMethod.coerceArgumentsToClasses, and invokes
the reflected method through PlainObjectMetaMethodSite.doInvoke.
Performs no receiver, meta-class version, or argument-class check.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.