public abstract class PlainObjectMetaMethodSite
extends MetaMethodSite
Plain ordinary object call site metaclass - cached method - cached
| Fields inherited from class | Fields |
|---|---|
class MetaMethodSite |
params |
class MetaClassSite |
metaClass |
class AbstractCallSite |
array, index, name |
| Constructor and description |
|---|
PlainObjectMetaMethodSite(CallSite site, MetaClass metaClass, MetaMethod metaMethod, Class[] params)Caches metaClass, metaMethod, and the parameter classes. |
| Methods inherited from class | Name |
|---|---|
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 |
Caches metaClass, metaMethod, and the parameter classes.
site - the site whose name and index are reusedmetaClass - the receiver's meta-classmetaMethod - the cached methodparams - the parameter classes used to match a later call Invokes reflect on receiver with args and
normalizes a primitive return through MetaClassHelper so the
boxed value keeps the identity reflection produced.
The cause of an InvocationTargetException is rethrown; a
GroovyRuntimeException cause goes through
ScriptBytecodeAdapter.unwrap.
receiver - the object reflect is invoked onargs - the arguments passed to reflectreflect - the method to invokeCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.