CallSite
DummyCallSite
, GetEffectivePogoFieldSite
, GetEffectivePojoPropertySite
, MetaClassSite
, NullCallSite
, PerInstancePojoMetaClassSite
, PogoGetPropertySite
, PogoInterceptableSite
, PogoMetaClassGetPropertySite
, PojoMetaClassGetPropertySite
public class AbstractCallSite extends Object implements CallSite
Modifier and Type | Field | Description |
---|---|---|
protected CallSiteArray |
array |
|
protected int |
index |
|
protected String |
name |
Constructor | Description |
---|---|
AbstractCallSite(CallSite prev) |
|
AbstractCallSite(CallSiteArray array,
int index,
String name) |
protected final int index
protected final String name
protected final CallSiteArray array
public AbstractCallSite(CallSiteArray array, int index, String name)
public AbstractCallSite(CallSite prev)
public CallSiteArray getArray()
public final Object callSafe(Object receiver, Object arg1, Object arg2, Object arg3) throws Throwable
public Object callSafe(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable
public Object call(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable
public Object callCurrent(GroovyObject receiver, Object[] args) throws Throwable
callCurrent
in interface CallSite
Throwable
public Object callCurrent(GroovyObject receiver) throws Throwable
callCurrent
in interface CallSite
Throwable
public Object callCurrent(GroovyObject receiver, Object arg1) throws Throwable
callCurrent
in interface CallSite
Throwable
public Object callCurrent(GroovyObject receiver, Object arg1, Object arg2) throws Throwable
callCurrent
in interface CallSite
Throwable
public Object callCurrent(GroovyObject receiver, Object arg1, Object arg2, Object arg3) throws Throwable
callCurrent
in interface CallSite
Throwable
public Object callCurrent(GroovyObject receiver, Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable
callCurrent
in interface CallSite
Throwable
public Object callStatic(Class receiver, Object[] args) throws Throwable
callStatic
in interface CallSite
Throwable
public Object callStatic(Class receiver) throws Throwable
callStatic
in interface CallSite
Throwable
public Object callStatic(Class receiver, Object arg1) throws Throwable
callStatic
in interface CallSite
Throwable
public Object callStatic(Class receiver, Object arg1, Object arg2) throws Throwable
callStatic
in interface CallSite
Throwable
public Object callStatic(Class receiver, Object arg1, Object arg2, Object arg3) throws Throwable
callStatic
in interface CallSite
Throwable
public Object callStatic(Class receiver, Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable
callStatic
in interface CallSite
Throwable
public Object callConstructor(Object receiver, Object[] args) throws Throwable
callConstructor
in interface CallSite
Throwable
public Object callConstructor(Object receiver) throws Throwable
callConstructor
in interface CallSite
Throwable
public Object callConstructor(Object receiver, Object arg1) throws Throwable
callConstructor
in interface CallSite
Throwable
public Object callConstructor(Object receiver, Object arg1, Object arg2) throws Throwable
callConstructor
in interface CallSite
Throwable
public Object callConstructor(Object receiver, Object arg1, Object arg2, Object arg3) throws Throwable
callConstructor
in interface CallSite
Throwable
public Object callConstructor(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable
callConstructor
in interface CallSite
Throwable
public Object callGetProperty(Object receiver) throws Throwable
callGetProperty
in interface CallSite
Throwable
public Object callGroovyObjectGetProperty(Object receiver) throws Throwable
callGroovyObjectGetProperty
in interface CallSite
Throwable
protected final CallSite createGroovyObjectGetPropertySite(Object receiver)
public Object getProperty(Object receiver) throws Throwable
getProperty
in interface CallSite
Throwable
public final Object callGetPropertySafe(Object receiver) throws Throwable
callGetPropertySafe
in interface CallSite
Throwable