public static class PojoMetaMethodSite.PojoCachedMethodSite
extends PojoMetaMethodSite
POJO site that invokes a reflected Method.
invoke still unwraps the arguments and coerces them with
MetaMethod.coerceArgumentsToClasses before
PlainObjectMetaMethodSite.doInvoke. Receiver, category,
version, and argument-class checks stay those of PojoMetaMethodSite.
| Fields inherited from class | Fields |
|---|---|
class PojoMetaMethodSite |
version |
class MetaMethodSite |
params |
class MetaClassSite |
metaClass |
class AbstractCallSite |
array, index, name |
| Constructor and description |
|---|
PojoCachedMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod 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.
|
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.