public class PogoInterceptableSite
extends AbstractCallSite
Call site for GroovyInterceptable
| Fields inherited from class | Fields |
|---|---|
class AbstractCallSite |
array, index, name |
| Constructor and description |
|---|
PogoInterceptableSite(CallSite site)Copies the call metadata from site. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public final Object |
call(Object receiver, Object[] args)When receiver is a GroovyObject, sends name
through GroovyObject.invokeMethod with
args unwrapped. |
|
public Object |
callCurrent(GroovyObject receiver, Object[] args)Forwards to call(Object, Object[]), so a GroovyObject receiver is dispatched through invokeMethod. |
|
public final Object |
invoke(Object receiver, Object[] args)Sends name to receiver through
GroovyObject.invokeMethod, with args
unwrapped by InvokerHelper.asUnwrappedArray.
|
| 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 |
Copies the call metadata from site.
site - the site whose name and index are reused When receiver is a GroovyObject, sends name
through GroovyObject.invokeMethod with
args unwrapped. Otherwise uses the default call.
A GroovyRuntimeException from the Groovy receiver is rethrown
via ScriptBytecodeAdapter.unwrap.
receiver - the call receiverargs - the call arguments Forwards to call(Object, Object[]), so a GroovyObject
receiver is dispatched through invokeMethod.
receiver - the current objectargs - the call arguments Sends name to receiver through
GroovyObject.invokeMethod, with args
unwrapped by InvokerHelper.asUnwrappedArray.
A GroovyRuntimeException is rethrown via
ScriptBytecodeAdapter.unwrap.
receiver - a GroovyObjectargs - the call argumentsinvokeMethodCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.