Class AbstractCallSite
- java.lang.Object
 - 
- org.codehaus.groovy.runtime.callsite.AbstractCallSite
 
 
- 
- All Implemented Interfaces:
 CallSite
- Direct Known Subclasses:
 DummyCallSite,GetEffectivePogoFieldSite,GetEffectivePojoPropertySite,MetaClassSite,NullCallSite,PerInstancePojoMetaClassSite,PogoGetPropertySite,PogoInterceptableSite,PogoMetaClassGetPropertySite,PojoMetaClassGetPropertySite
public class AbstractCallSite extends Object implements CallSite
Base class for all call sites. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected CallSiteArrayarrayprotected intindexprotected Stringname 
- 
Constructor Summary
Constructors Constructor Description AbstractCallSite(CallSite prev)AbstractCallSite(CallSiteArray array, int index, String name) 
- 
Method Summary
 
 - 
 
- 
- 
Field Detail
- 
index
protected final int index
 
- 
name
protected final String name
 
- 
array
protected final CallSiteArray array
 
 - 
 
- 
Constructor Detail
- 
AbstractCallSite
public AbstractCallSite(CallSiteArray array, int index, String name)
 
- 
AbstractCallSite
public AbstractCallSite(CallSite prev)
 
 - 
 
- 
Method Detail
- 
getArray
public CallSiteArray getArray()
 
- 
callSafe
public final Object callSafe(Object receiver, Object arg1, Object arg2, Object arg3) throws Throwable
 
- 
callSafe
public Object callSafe(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable
 
- 
call
public Object call(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable
 
- 
callCurrent
public Object callCurrent(GroovyObject receiver, Object[] args) throws Throwable
- Specified by:
 callCurrentin interfaceCallSite- Throws:
 Throwable
 
- 
callCurrent
public Object callCurrent(GroovyObject receiver) throws Throwable
- Specified by:
 callCurrentin interfaceCallSite- Throws:
 Throwable
 
- 
callCurrent
public Object callCurrent(GroovyObject receiver, Object arg1) throws Throwable
- Specified by:
 callCurrentin interfaceCallSite- Throws:
 Throwable
 
- 
callCurrent
public Object callCurrent(GroovyObject receiver, Object arg1, Object arg2) throws Throwable
- Specified by:
 callCurrentin interfaceCallSite- Throws:
 Throwable
 
- 
callCurrent
public Object callCurrent(GroovyObject receiver, Object arg1, Object arg2, Object arg3) throws Throwable
- Specified by:
 callCurrentin interfaceCallSite- Throws:
 Throwable
 
- 
callCurrent
public Object callCurrent(GroovyObject receiver, Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable
- Specified by:
 callCurrentin interfaceCallSite- Throws:
 Throwable
 
- 
callStatic
public Object callStatic(Class receiver, Object[] args) throws Throwable
- Specified by:
 callStaticin interfaceCallSite- Throws:
 Throwable
 
- 
callStatic
public Object callStatic(Class receiver) throws Throwable
- Specified by:
 callStaticin interfaceCallSite- Throws:
 Throwable
 
- 
callStatic
public Object callStatic(Class receiver, Object arg1) throws Throwable
- Specified by:
 callStaticin interfaceCallSite- Throws:
 Throwable
 
- 
callStatic
public Object callStatic(Class receiver, Object arg1, Object arg2) throws Throwable
- Specified by:
 callStaticin interfaceCallSite- Throws:
 Throwable
 
- 
callStatic
public Object callStatic(Class receiver, Object arg1, Object arg2, Object arg3) throws Throwable
- Specified by:
 callStaticin interfaceCallSite- Throws:
 Throwable
 
- 
callStatic
public Object callStatic(Class receiver, Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable
- Specified by:
 callStaticin interfaceCallSite- Throws:
 Throwable
 
- 
callConstructor
public Object callConstructor(Object receiver, Object[] args) throws Throwable
- Specified by:
 callConstructorin interfaceCallSite- Throws:
 Throwable
 
- 
callConstructor
public Object callConstructor(Object receiver) throws Throwable
- Specified by:
 callConstructorin interfaceCallSite- Throws:
 Throwable
 
- 
callConstructor
public Object callConstructor(Object receiver, Object arg1) throws Throwable
- Specified by:
 callConstructorin interfaceCallSite- Throws:
 Throwable
 
- 
callConstructor
public Object callConstructor(Object receiver, Object arg1, Object arg2) throws Throwable
- Specified by:
 callConstructorin interfaceCallSite- Throws:
 Throwable
 
- 
callConstructor
public Object callConstructor(Object receiver, Object arg1, Object arg2, Object arg3) throws Throwable
- Specified by:
 callConstructorin interfaceCallSite- Throws:
 Throwable
 
- 
callConstructor
public Object callConstructor(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4) throws Throwable
- Specified by:
 callConstructorin interfaceCallSite- Throws:
 Throwable
 
- 
callGetProperty
public Object callGetProperty(Object receiver) throws Throwable
- Specified by:
 callGetPropertyin interfaceCallSite- Throws:
 Throwable
 
- 
callGroovyObjectGetProperty
public Object callGroovyObjectGetProperty(Object receiver) throws Throwable
- Specified by:
 callGroovyObjectGetPropertyin interfaceCallSite- Throws:
 Throwable
 
- 
createGroovyObjectGetPropertySite
protected final CallSite createGroovyObjectGetPropertySite(Object receiver)
 
- 
getProperty
public Object getProperty(Object receiver) throws Throwable
- Specified by:
 getPropertyin interfaceCallSite- Throws:
 Throwable
 
- 
callGetPropertySafe
public final Object callGetPropertySafe(Object receiver) throws Throwable
- Specified by:
 callGetPropertySafein interfaceCallSite- Throws:
 Throwable
 
 - 
 
 -