Package org.codehaus.groovy.classgen.asm
Class OptimizingStatementWriter
java.lang.Object
org.codehaus.groovy.classgen.asm.StatementWriter
org.codehaus.groovy.classgen.asm.OptimizingStatementWriter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields inherited from class org.codehaus.groovy.classgen.asm.StatementWriter
controller
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
setNodeMeta
(TypeChooser chooser, ClassNode classNode) void
writeBlockStatement
(BlockStatement statement) void
writeDoWhileLoop
(DoWhileStatement statement) void
writeExpressionStatement
(ExpressionStatement statement) protected void
writeForInLoop
(ForStatement statement) protected void
writeForLoopWithClosureList
(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) void
writeWhileLoop
(WhileStatement statement) Methods inherited from class org.codehaus.groovy.classgen.asm.StatementWriter
writeAssert, writeBreak, writeContinue, writeForInLoopControlAndBlock, writeForStatement, writeStatementLabel, writeSwitch, writeSynchronized, writeThrow, writeTryCatchFinally
-
Constructor Details
-
OptimizingStatementWriter
-
-
Method Details
-
writeBlockStatement
- Overrides:
writeBlockStatement
in classStatementWriter
-
writeDoWhileLoop
- Overrides:
writeDoWhileLoop
in classStatementWriter
-
writeIteratorHasNext
protected void writeIteratorHasNext(org.objectweb.asm.MethodVisitor mv) - Overrides:
writeIteratorHasNext
in classStatementWriter
-
writeIteratorNext
protected void writeIteratorNext(org.objectweb.asm.MethodVisitor mv) - Overrides:
writeIteratorNext
in classStatementWriter
-
writeForInLoop
- Overrides:
writeForInLoop
in classStatementWriter
-
writeForLoopWithClosureList
- Overrides:
writeForLoopWithClosureList
in classStatementWriter
-
writeWhileLoop
- Overrides:
writeWhileLoop
in classStatementWriter
-
writeIfElse
- Overrides:
writeIfElse
in classStatementWriter
-
writeReturn
- Overrides:
writeReturn
in classStatementWriter
-
writeExpressionStatement
- Overrides:
writeExpressionStatement
in classStatementWriter
-
setNodeMeta
-