Package: org.codehaus.groovy.runtime.callsite

## [Java] Class AbstractCallSite

- org.codehaus.groovy.runtime.callsite.AbstractCallSite

- All Implemented Interfaces and Traits:
    CallSite

      public class AbstractCallSite
      extends Object
      implements CallSite

  Base class for all call sites.

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `protected CallSiteArray` | `array` |
    `protected int` | `index` |
    `protected String` | `name` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `AbstractCallSite (CallSiteArray array, int index, String name)`
    `AbstractCallSite (CallSite prev)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `CallSite` | `acceptGetProperty(Object receiver)`
    `` | `CallSite` | `acceptGroovyObjectGetProperty(Object receiver)`
    `` | `Object` | `call(Object receiver, Object[] args)`
    `` | `Object` | `call(Object receiver)`
    `` | `Object` | `call(Object receiver, Object arg1)`
    `` | `Object` | `call(Object receiver, Object arg1, Object arg2)`
    `` | `Object` | `call(Object receiver, Object arg1, Object arg2, Object arg3)`
    `` | `Object` | `call(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4)`
    `` | `Object` | `callConstructor(Object receiver, Object[] args)`
    `` | `Object` | `callConstructor(Object receiver)`
    `` | `Object` | `callConstructor(Object receiver, Object arg1)`
    `` | `Object` | `callConstructor(Object receiver, Object arg1, Object arg2)`
    `` | `Object` | `callConstructor(Object receiver, Object arg1, Object arg2, Object arg3)`
    `` | `Object` | `callConstructor(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4)`
    `` | `Object` | `callCurrent(GroovyObject receiver, Object[] args)`
    `` | `Object` | `callCurrent(GroovyObject receiver)`
    `` | `Object` | `callCurrent(GroovyObject receiver, Object arg1)`
    `` | `Object` | `callCurrent(GroovyObject receiver, Object arg1, Object arg2)`
    `` | `Object` | `callCurrent(GroovyObject receiver, Object arg1, Object arg2, Object arg3)`
    `` | `Object` | `callCurrent(GroovyObject receiver, Object arg1, Object arg2, Object arg3, Object arg4)`
    `` | `Object` | `callGetProperty(Object receiver)`
    `` | `Object` | `callGetPropertySafe(Object receiver)`
    `` | `Object` | `callGroovyObjectGetProperty(Object receiver)`
    `` | `Object` | `callGroovyObjectGetPropertySafe(Object receiver)`
    `` | `Object` | `callSafe(Object receiver, Object[] args)`
    `` | `Object` | `callSafe(Object receiver)`
    `` | `Object` | `callSafe(Object receiver, Object arg1)`
    `` | `Object` | `callSafe(Object receiver, Object arg1, Object arg2)`
    `` | `Object` | `callSafe(Object receiver, Object arg1, Object arg2, Object arg3)`
    `` | `Object` | `callSafe(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4)`
    `` | `Object` | `callStatic(Class receiver, Object[] args)`
    `` | `Object` | `callStatic(Class receiver)`
    `` | `Object` | `callStatic(Class receiver, Object arg1)`
    `` | `Object` | `callStatic(Class receiver, Object arg1, Object arg2)`
    `` | `Object` | `callStatic(Class receiver, Object arg1, Object arg2, Object arg3)`
    `` | `Object` | `callStatic(Class receiver, Object arg1, Object arg2, Object arg3, Object arg4)`
    `` | `protected CallSite` | `createGetPropertySite(Object receiver)`
    `` | `protected CallSite` | `createGroovyObjectGetPropertySite(Object receiver)`
    `` | `CallSiteArray` | `getArray()`
    `` | `int` | `getIndex()`
    `` | `String` | `getName()`
    `` | `Object` | `getProperty(Object receiver)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Field Detail

    - #### protected final CallSiteArray array

    - #### protected final int index

    - #### protected final String name

  - ### Constructor Detail

    - #### public AbstractCallSite(CallSiteArray array, int index, String name)

    - #### public AbstractCallSite(CallSite prev)

  - ### Method Detail

    - #### public CallSite acceptGetProperty(Object receiver)

    - #### public CallSite acceptGroovyObjectGetProperty(Object receiver)

    - #### @Override public Object call(Object receiver, Object[] args)

    - #### @Override public Object call(Object receiver)

    - #### @Override public Object call(Object receiver, Object arg1)

    - #### @Override public Object call(Object receiver, Object arg1, Object arg2)

    - #### @Override public Object call(Object receiver, Object arg1, Object arg2, Object arg3)

    - #### @Override public Object call(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4)

    - #### @Override public Object callConstructor(Object receiver, Object[] args)

    - #### @Override public Object callConstructor(Object receiver)

    - #### @Override public Object callConstructor(Object receiver, Object arg1)

    - #### @Override public Object callConstructor(Object receiver, Object arg1, Object arg2)

    - #### @Override public Object callConstructor(Object receiver, Object arg1, Object arg2, Object arg3)

    - #### @Override public Object callConstructor(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4)

    - #### @Override public Object callCurrent(GroovyObject receiver, Object[] args)

    - #### @Override public Object callCurrent(GroovyObject receiver)

    - #### @Override public Object callCurrent(GroovyObject receiver, Object arg1)

    - #### @Override public Object callCurrent(GroovyObject receiver, Object arg1, Object arg2)

    - #### @Override public Object callCurrent(GroovyObject receiver, Object arg1, Object arg2, Object arg3)

    - #### @Override public Object callCurrent(GroovyObject receiver, Object arg1, Object arg2, Object arg3, Object arg4)

    - #### @Override public Object callGetProperty(Object receiver)

    - #### @Override public final Object callGetPropertySafe(Object receiver)

    - #### @Override public Object callGroovyObjectGetProperty(Object receiver)

    - #### @Override public final Object callGroovyObjectGetPropertySafe(Object receiver)

    - #### @Override public final Object callSafe(Object receiver, Object[] args)

    - #### @Override public final Object callSafe(Object receiver)

    - #### @Override public final Object callSafe(Object receiver, Object arg1)

    - #### @Override public final Object callSafe(Object receiver, Object arg1, Object arg2)

    - #### @Override public final Object callSafe(Object receiver, Object arg1, Object arg2, Object arg3)

    - #### @Override public Object callSafe(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4)

    - #### @Override public Object callStatic(Class receiver, Object[] args)

    - #### @Override public Object callStatic(Class receiver)

    - #### @Override public Object callStatic(Class receiver, Object arg1)

    - #### @Override public Object callStatic(Class receiver, Object arg1, Object arg2)

    - #### @Override public Object callStatic(Class receiver, Object arg1, Object arg2, Object arg3)

    - #### @Override public Object callStatic(Class receiver, Object arg1, Object arg2, Object arg3, Object arg4)

    - #### protected final CallSite createGetPropertySite(Object receiver)

    - #### protected final CallSite createGroovyObjectGetPropertySite(Object receiver)

    - #### @Override public CallSiteArray getArray()

    - #### @Override public int getIndex()

    - #### @Override public String getName()

    - #### @Override public Object getProperty(Object receiver)