Package: org.codehaus.groovy.classgen.asm

## [Java] Class CallSiteWriter

- org.codehaus.groovy.classgen.asm.CallSiteWriter

- This class represents non public API used by AsmClassGenerator. Don't use this class in your code

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static String` | `CONSTRUCTOR` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `CallSiteWriter (WriterController wc)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `void` | `fallbackAttributeOrPropertySite(PropertyExpression expression, Expression objectExpression, String name, MethodCallerMultiAdapter adapter)`
    `` | `void` | `generateCallSiteArray()`
    `` | `List<String>` | `getCallSites()`
    `` | `boolean` | `hasCallSiteUse()`
    `` | `void` | `makeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)`
    `` | `void` | `makeCallSiteArrayInitializer()`
    `` | `void` | `makeGetPropertySite(Expression receiver, String methodName, boolean safe, boolean implicitThis)`
    `` | `void` | `makeGroovyObjectGetPropertySite(Expression receiver, String methodName, boolean safe, boolean implicitThis)`
    `` | `void` | `makeSingleArgumentCall(Expression receiver, String message, Expression arguments)`
    `` | `void` | `makeSingleArgumentCall(Expression receiver, String message, Expression arguments, boolean safe)`
    `` | `void` | `makeSiteEntry()`
    `` | `void` | `prepareCallSite(String message)`
    `` | `protected void` | `prepareSiteAndReceiver(Expression receiver, String methodName, boolean implicitThis, boolean lhs)`
    `` | `protected void` | `visitBoxedArgument(Expression exp)`

  - ### Inherited Methods Summary

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

- - ### Field Detail

    - #### public static final String CONSTRUCTOR

  - ### Constructor Detail

    - #### public CallSiteWriter(WriterController wc)

  - ### Method Detail

    - #### public void fallbackAttributeOrPropertySite(PropertyExpression expression, Expression objectExpression, String name, MethodCallerMultiAdapter adapter)

    - #### public void generateCallSiteArray()

    - #### public List<String> getCallSites()

    - #### public boolean hasCallSiteUse()

    - #### public void makeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)

    - #### public void makeCallSiteArrayInitializer()

    - #### public void makeGetPropertySite(Expression receiver, String methodName, boolean safe, boolean implicitThis)

    - #### public void makeGroovyObjectGetPropertySite(Expression receiver, String methodName, boolean safe, boolean implicitThis)

    - #### public final void makeSingleArgumentCall(Expression receiver, String message, Expression arguments)

    - #### public void makeSingleArgumentCall(Expression receiver, String message, Expression arguments, boolean safe)

    - #### public void makeSiteEntry()

    - #### public void prepareCallSite(String message)

    - #### protected void prepareSiteAndReceiver(Expression receiver, String methodName, boolean implicitThis, boolean lhs)

    - #### protected void visitBoxedArgument(Expression exp)