Package org.codehaus.groovy.classgen.asm
Class StatementWriter
- java.lang.Object
- 
- org.codehaus.groovy.classgen.asm.StatementWriter
 
- 
- Direct Known Subclasses:
- OptimizingStatementWriter,- StaticTypesStatementWriter
 
 public class StatementWriter extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description protected WriterControllercontroller
 - 
Constructor SummaryConstructors Constructor Description StatementWriter(WriterController controller)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteAssert(AssertStatement statement)voidwriteBlockStatement(BlockStatement block)voidwriteBreak(BreakStatement statement)protected voidwriteCaseStatement(CaseStatement statement, int switchVariableIndex, org.objectweb.asm.Label thisLabel, org.objectweb.asm.Label nextLabel)voidwriteContinue(ContinueStatement statement)voidwriteDoWhileLoop(DoWhileStatement loop)voidwriteExpressionStatement(ExpressionStatement statement)protected voidwriteForInLoop(ForStatement statement)protected voidwriteForInLoopControlAndBlock(ForStatement statement)protected voidwriteForLoopWithClosureList(ForStatement statement)voidwriteForStatement(ForStatement statement)voidwriteIfElse(IfStatement statement)protected voidwriteIteratorHasNext(org.objectweb.asm.MethodVisitor mv)protected voidwriteIteratorNext(org.objectweb.asm.MethodVisitor mv)voidwriteReturn(ReturnStatement statement)protected voidwriteStatementLabel(Statement statement)voidwriteSwitch(SwitchStatement statement)voidwriteSynchronized(SynchronizedStatement statement)voidwriteThrow(ThrowStatement statement)voidwriteTryCatchFinally(TryCatchStatement statement)voidwriteWhileLoop(WhileStatement statement)
 
- 
- 
- 
Field Detail- 
controllerprotected final WriterController controller 
 
- 
 - 
Constructor Detail- 
StatementWriterpublic StatementWriter(WriterController controller) 
 
- 
 - 
Method Detail- 
writeStatementLabelprotected void writeStatementLabel(Statement statement) 
 - 
writeBlockStatementpublic void writeBlockStatement(BlockStatement block) 
 - 
writeForStatementpublic void writeForStatement(ForStatement statement) 
 - 
writeForInLoopprotected void writeForInLoop(ForStatement statement) 
 - 
writeForInLoopControlAndBlockprotected void writeForInLoopControlAndBlock(ForStatement statement) 
 - 
writeIteratorHasNextprotected void writeIteratorHasNext(org.objectweb.asm.MethodVisitor mv) 
 - 
writeIteratorNextprotected void writeIteratorNext(org.objectweb.asm.MethodVisitor mv) 
 - 
writeForLoopWithClosureListprotected void writeForLoopWithClosureList(ForStatement statement) 
 - 
writeWhileLooppublic void writeWhileLoop(WhileStatement statement) 
 - 
writeDoWhileLooppublic void writeDoWhileLoop(DoWhileStatement loop) 
 - 
writeIfElsepublic void writeIfElse(IfStatement statement) 
 - 
writeTryCatchFinallypublic void writeTryCatchFinally(TryCatchStatement statement) 
 - 
writeSwitchpublic void writeSwitch(SwitchStatement statement) 
 - 
writeCaseStatementprotected void writeCaseStatement(CaseStatement statement, int switchVariableIndex, org.objectweb.asm.Label thisLabel, org.objectweb.asm.Label nextLabel) 
 - 
writeBreakpublic void writeBreak(BreakStatement statement) 
 - 
writeContinuepublic void writeContinue(ContinueStatement statement) 
 - 
writeSynchronizedpublic void writeSynchronized(SynchronizedStatement statement) 
 - 
writeAssertpublic void writeAssert(AssertStatement statement) 
 - 
writeThrowpublic void writeThrow(ThrowStatement statement) 
 - 
writeReturnpublic void writeReturn(ReturnStatement statement) 
 - 
writeExpressionStatementpublic void writeExpressionStatement(ExpressionStatement statement) 
 
- 
 
-