Package: org.codehaus.groovy.classgen.asm

## [Java] Class StatementWriter

- org.codehaus.groovy.classgen.asm.StatementWriter

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `protected WriterController` | `controller` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `StatementWriter (WriterController controller)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `void` | `writeAssert(AssertStatement statement)`
    `` | `void` | `writeBlockStatement(BlockStatement block)`
    `` | `void` | `writeBreak(BreakStatement statement)`
    `` | `protected void` | `writeCaseStatement(CaseStatement statement, int switchVariableIndex, org.objectweb.asm.Label thisLabel, org.objectweb.asm.Label nextLabel)`
    `` | `void` | `writeContinue(ContinueStatement statement)`
    `` | `void` | `writeDoWhileLoop(DoWhileStatement loop)`
    `` | `void` | `writeExpressionStatement(ExpressionStatement statement)`
    `` | `protected void` | `writeForInLoop(ForStatement statement)`
    `` | `protected void` | `writeForInLoopControlAndBlock(ForStatement statement)`
    `` | `protected void` | `writeForLoopWithClosureList(ForStatement statement)`
    `` | `void` | `writeForStatement(ForStatement statement)`
    `` | `void` | `writeIfElse(IfStatement statement)`
    `` | `protected void` | `writeIteratorHasNext(org.objectweb.asm.MethodVisitor mv)`
    `` | `protected void` | `writeIteratorNext(org.objectweb.asm.MethodVisitor mv)`
    `` | `void` | `writeReturn(ReturnStatement statement)`
    `` | `protected void` | `writeStatementLabel(Statement statement)`
    `` | `void` | `writeSwitch(SwitchStatement statement)`
    `` | `void` | `writeSynchronized(SynchronizedStatement statement)`
    `` | `void` | `writeThrow(ThrowStatement statement)`
    `` | `void` | `writeTryCatchFinally(TryCatchStatement statement)`
    `` | `void` | `writeWhileLoop(WhileStatement statement)`

  - ### Inherited Methods Summary

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

- - ### Field Detail

    - #### protected final WriterController controller

  - ### Constructor Detail

    - #### public StatementWriter(WriterController controller)

  - ### Method Detail

    - #### public void writeAssert(AssertStatement statement)

    - #### public void writeBlockStatement(BlockStatement block)

    - #### public void writeBreak(BreakStatement statement)

    - #### protected void writeCaseStatement(CaseStatement statement, int switchVariableIndex, org.objectweb.asm.Label thisLabel, org.objectweb.asm.Label nextLabel)

    - #### public void writeContinue(ContinueStatement statement)

    - #### public void writeDoWhileLoop(DoWhileStatement loop)

    - #### public void writeExpressionStatement(ExpressionStatement statement)

    - #### protected void writeForInLoop(ForStatement statement)

    - #### protected void writeForInLoopControlAndBlock(ForStatement statement)

    - #### protected void writeForLoopWithClosureList(ForStatement statement)

    - #### public void writeForStatement(ForStatement statement)

    - #### public void writeIfElse(IfStatement statement)

    - #### protected void writeIteratorHasNext(org.objectweb.asm.MethodVisitor mv)

    - #### protected void writeIteratorNext(org.objectweb.asm.MethodVisitor mv)

    - #### public void writeReturn(ReturnStatement statement)

    - #### protected void writeStatementLabel(Statement statement)

    - #### public void writeSwitch(SwitchStatement statement)

    - #### public void writeSynchronized(SynchronizedStatement statement)

    - #### public void writeThrow(ThrowStatement statement)

    - #### public void writeTryCatchFinally(TryCatchStatement statement)

    - #### public void writeWhileLoop(WhileStatement statement)