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

## [Java] Class StaticCompilationMopWriter

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

-     public class StaticCompilationMopWriter
      extends MopWriter

  A MOP Writer that skips the generation of MOP methods. This writer is used when a class is *fully* statically compiled. In mixed mode, MOP methods are still generated.

  Since:
    2.4.0

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static Factory` | `FACTORY` | Factory for statically compiled MOP writers.

  - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class MopWriter` | `FACTORY, controller`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `StaticCompilationMopWriter(WriterController wc)` Creates a MOP writer for fully statically compiled classes.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public void` | `createMopMethods()` * Generates MOP methods for the current class.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class MopWriter` | `createMopMethods, equalParameterTypes, generateMopCalls, getMopMethodName, isMopMethod`

- - ### Field Detail

    - #### public static final Factory FACTORY

      Factory for statically compiled MOP writers.

  - ### Constructor Detail

    - #### public StaticCompilationMopWriter(WriterController wc)

      Creates a MOP writer for fully statically compiled classes.

  - ### Method Detail

    - #### public void createMopMethods()

      * Generates MOP methods for the current class.