Package: org.codehaus.groovy.classgen.asm.sc

## [Java] Class StaticTypesCallSiteWriter

- org.codehaus.groovy.classgen.asm.sc.StaticTypesCallSiteWriter

- All Implemented Interfaces and Traits:
    org.objectweb.asm.Opcodes

      public class StaticTypesCallSiteWriter
      extends CallSiteWriter

  A call site writer which replaces call site caching with static calls. This means that the generated code looks more like Java code than dynamic Groovy code. Best effort is made to use JVM instructions instead of calls to helper methods.

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class CallSiteWriter` | `CONSTRUCTOR`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `StaticTypesCallSiteWriter (StaticTypesWriterController controller)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `void` | `fallbackAttributeOrPropertySite(PropertyExpression expression, Expression objectExpression, String name, MethodCallerMultiAdapter adapter)`
    `` | `void` | `generateCallSiteArray()`
    `` | `void` | `makeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)`
    `` | `void` | `makeCallSiteArrayInitializer()`
    `` | `void` | `makeGetPropertySite(Expression receiver, String propertyName, boolean safe, boolean implicitThis)`
    `` | `void` | `makeGroovyObjectGetPropertySite(Expression receiver, String propertyName, boolean safe, boolean implicitThis)`
    `` | `void` | `makeSingleArgumentCall(Expression receiver, String message, Expression arguments, boolean safe)`
    `` | `void` | `makeSiteEntry()`
    `` | `void` | `prepareCallSite(String message)`
    `` | `void` | `visit(org.objectweb.asm.MethodVisitor mv)`
    `` | `void` | `visit(org.objectweb.asm.MethodVisitor mv)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class CallSiteWriter` | `fallbackAttributeOrPropertySite, generateCallSiteArray, getCallSites, hasCallSiteUse, makeCallSite, makeCallSiteArrayInitializer, makeGetPropertySite, makeGroovyObjectGetPropertySite, makeSingleArgumentCall, makeSingleArgumentCall, makeSiteEntry, prepareCallSite, prepareSiteAndReceiver, visitBoxedArgument`

- - ### Constructor Detail

    - #### public StaticTypesCallSiteWriter(StaticTypesWriterController controller)

  - ### Method Detail

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void fallbackAttributeOrPropertySite(PropertyExpression expression, Expression objectExpression, String name, MethodCallerMultiAdapter adapter)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void generateCallSiteArray()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void makeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void makeCallSiteArrayInitializer()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void makeGetPropertySite(Expression receiver, String propertyName, boolean safe, boolean implicitThis)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void makeGroovyObjectGetPropertySite(Expression receiver, String propertyName, boolean safe, boolean implicitThis)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void makeSingleArgumentCall(Expression receiver, String message, Expression arguments, boolean safe)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void makeSiteEntry()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void prepareCallSite(String message)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void visit(org.objectweb.asm.MethodVisitor mv)