public class OptimizingStatementWriter extends StatementWriter
Modifier and Type | Class and Description |
---|---|
static class |
OptimizingStatementWriter.ClassNodeSkip |
static class |
OptimizingStatementWriter.StatementMeta |
Constructor and Description |
---|
OptimizingStatementWriter(WriterController controller) |
Modifier and Type | Method and Description |
---|---|
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) |
writeAssert, writeBreak, writeCaseStatement, writeContinue, writeForStatement, writeStatementLabel, writeSwitch, writeSynchronized, writeThrow, writeTryCatchFinally
public OptimizingStatementWriter(WriterController controller)
public void writeBlockStatement(BlockStatement statement)
writeBlockStatement
in class StatementWriter
public void writeDoWhileLoop(DoWhileStatement statement)
writeDoWhileLoop
in class StatementWriter
protected void writeIteratorHasNext(org.objectweb.asm.MethodVisitor mv)
writeIteratorHasNext
in class StatementWriter
protected void writeIteratorNext(org.objectweb.asm.MethodVisitor mv)
writeIteratorNext
in class StatementWriter
protected void writeForInLoop(ForStatement statement)
writeForInLoop
in class StatementWriter
protected void writeForLoopWithClosureList(ForStatement statement)
writeForLoopWithClosureList
in class StatementWriter
public void writeWhileLoop(WhileStatement statement)
writeWhileLoop
in class StatementWriter
public void writeIfElse(IfStatement statement)
writeIfElse
in class StatementWriter
public void writeReturn(ReturnStatement statement)
writeReturn
in class StatementWriter
public void writeExpressionStatement(ExpressionStatement statement)
writeExpressionStatement
in class StatementWriter
public static void setNodeMeta(TypeChooser chooser, ClassNode classNode)