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

# Class StaticCompilationMopWriter

java.lang.Object
org.codehaus.groovy.classgen.asm.MopWriter
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

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.codehaus.groovy.classgen.asm.MopWriter

  `MopWriter.Factory`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final MopWriter.Factory`
  `FACTORY`
  Factory for statically compiled MOP writers.

  ### Fields inherited from class org.codehaus.groovy.classgen.asm.MopWriter

  `controller`

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `createMopMethods()`
  Generates MOP methods for the current class.

  ### Methods inherited from class org.codehaus.groovy.classgen.asm.MopWriter

  `equalParameterTypes, generateMopCalls, getMopMethodName, isMopMethod`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### FACTORY

    public static final MopWriter.Factory FACTORY
    Factory for statically compiled MOP writers.

- ## Constructor Details

  - ### StaticCompilationMopWriter

    public StaticCompilationMopWriter(WriterController wc)
    Creates a MOP writer for fully statically compiled classes.

- ## Method Details

  - ### createMopMethods

    public void createMopMethods()
    Generates MOP methods for the current class.
    Overrides:
      `createMopMethods` in class `MopWriter`