public static class PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrap
extends PojoMetaMethodSite.PojoCachedMethodSite
Reflected POJO site that skips MetaClassHelper.unwrap.
invoke still coerces 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 |
|---|
PojoCachedMethodSiteNoUnwrap(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params)Delegates to PojoCachedMethodSite, recording the same meta-class version and reflected method. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public final Object |
invoke(Object receiver, Object[] args)Coerces args with
MetaMethod.coerceArgumentsToClasses and invokes
the reflected method through PlainObjectMetaMethodSite.doInvoke.
|
Delegates to PojoCachedMethodSite, recording the same meta-class version and reflected method.
Coerces args with
MetaMethod.coerceArgumentsToClasses and invokes
the reflected method through PlainObjectMetaMethodSite.doInvoke.
Skips MetaClassHelper.unwrap and performs no
receiver, meta-class version, or argument-class check.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.