Package: org.codehaus.groovy.classgen.asm

## [Java] Class ClosureWriter

- org.codehaus.groovy.classgen.asm.ClosureWriter

-     public class ClosureWriter
      extends Object

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static String` | `OUTER_INSTANCE` |
    `static String` | `THIS_OBJECT` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `ClosureWriter(WriterController controller)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public boolean` | `addGeneratedClosureConstructorCall(ConstructorCallExpression call)`
    `` | `public ClassNode` | `getOrAddClosureClass(ClosureExpression expression, int modifiers)`
    `` | `public static void` | `loadReference(String name, WriterController controller)`
    `` | `public void` | `writeClosure(ClosureExpression expression)`

  - ### 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 OUTER_INSTANCE

    - #### public static final String THIS_OBJECT

  - ### Constructor Detail

    - #### public ClosureWriter(WriterController controller)

  - ### Method Detail

    - #### public boolean addGeneratedClosureConstructorCall(ConstructorCallExpression call)

    - #### public ClassNode getOrAddClosureClass(ClosureExpression expression, int modifiers)

    - #### public static void loadReference(String name, WriterController controller)

    - #### public void writeClosure(ClosureExpression expression)