public class StatementWriter extends Object
Modifier and Type | Field and Description |
---|---|
protected WriterController |
controller |
Constructor and Description |
---|
StatementWriter(WriterController controller) |
protected final WriterController controller
public StatementWriter(WriterController controller)
protected void writeStatementLabel(Statement statement)
public void writeBlockStatement(BlockStatement block)
public void writeForStatement(ForStatement statement)
protected void writeForInLoop(ForStatement statement)
protected void writeIteratorHasNext(org.objectweb.asm.MethodVisitor mv)
protected void writeIteratorNext(org.objectweb.asm.MethodVisitor mv)
protected void writeForLoopWithClosureList(ForStatement statement)
public void writeWhileLoop(WhileStatement statement)
public void writeDoWhileLoop(DoWhileStatement statement)
public void writeIfElse(IfStatement statement)
public void writeTryCatchFinally(TryCatchStatement statement)
public void writeSwitch(SwitchStatement statement)
public void writeBreak(BreakStatement statement)
public void writeContinue(ContinueStatement statement)
public void writeSynchronized(SynchronizedStatement statement)
public void writeAssert(AssertStatement statement)
public void writeThrow(ThrowStatement statement)
public void writeReturn(ReturnStatement statement)
public void writeExpressionStatement(ExpressionStatement statement)