|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.classgen.asm.StatementWriter org.codehaus.groovy.classgen.asm.OptimizingStatementWriter
public class OptimizingStatementWriter extends StatementWriter
A class to write out the optimized statements
Nested Class Summary | |
---|---|
static class |
OptimizingStatementWriter.ClassNodeSkip
|
static class |
OptimizingStatementWriter.StatementMeta
|
Method Summary | |
---|---|
def
|
OptimizingStatementWriter(WriterController controller)
|
static 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 Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail |
---|
public def OptimizingStatementWriter(WriterController controller)
public static void setNodeMeta(TypeChooser chooser, ClassNode classNode)
@Override public void writeBlockStatement(BlockStatement statement)
@OverridefastPathBlocked = true; public void writeDoWhileLoop(DoWhileStatement statement)
@Override// (1) no fast path possible, so just do super public void writeExpressionStatement(ExpressionStatement statement)
@OverridefastPathBlocked = true; protected void writeForInLoop(ForStatement statement)
@OverridefastPathBlocked = true; protected void writeForLoopWithClosureList(ForStatement statement)
@OverridefastPathBlocked = true; public void writeIfElse(IfStatement statement)
@Override protected void writeIteratorHasNext(org.objectweb.asm.MethodVisitor mv)
@Override protected void writeIteratorNext(org.objectweb.asm.MethodVisitor mv)
@OverridefastPathBlocked = oldFastPathBlock; public void writeReturn(ReturnStatement statement)
@OverridefastPathBlocked = true; public void writeWhileLoop(WhileStatement statement)
Copyright © 2003-2013 The Codehaus. All rights reserved.