public class StatementWriter extends Object
Constructor and Description |
---|
StatementWriter(WriterController controller) |
public StatementWriter(WriterController controller)
protected void writeStatementLabel(Statement statement)
public void writeBlockStatement(BlockStatement block)
public void writeForStatement(ForStatement loop)
protected void writeIteratorHasNext(org.objectweb.asm.MethodVisitor mv)
protected void writeIteratorNext(org.objectweb.asm.MethodVisitor mv)
protected void writeForInLoop(ForStatement loop)
protected void writeForLoopWithClosureList(ForStatement loop)
public void writeWhileLoop(WhileStatement loop)
public void writeDoWhileLoop(DoWhileStatement loop)
public void writeIfElse(IfStatement ifElse)
public void writeTryCatchFinally(TryCatchStatement statement)
public void writeSwitch(SwitchStatement statement)
protected void writeCaseStatement(CaseStatement statement, int switchVariableIndex, org.objectweb.asm.Label thisLabel, org.objectweb.asm.Label nextLabel)
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)