org.jboss.errai.ioc.rebind.ioc.codegen
Class BlockStatement
java.lang.Object
org.jboss.errai.ioc.rebind.ioc.codegen.AbstractStatement
org.jboss.errai.ioc.rebind.ioc.codegen.BlockStatement
- All Implemented Interfaces:
- Statement
public class BlockStatement
- extends AbstractStatement
Represents a code block (e.g. a loop body).
- Author:
- Christian Sadilek
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockStatement
public BlockStatement(Statement... statements)
addStatement
public BlockStatement addStatement(Statement statement)
generate
public String generate(Context context)
getStatements
public List<Statement> getStatements()
isEmpty
public boolean isEmpty()
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.