public class CodegenStatementFor extends CodegenStatementWBlockBase
Constructor and Description |
---|
CodegenStatementFor(CodegenBlock parent,
Class type,
String name,
CodegenExpression initialization,
CodegenExpression termination,
CodegenExpression increment) |
Modifier and Type | Method and Description |
---|---|
void |
mergeClasses(Set<Class> classes) |
void |
render(StringBuilder builder,
Map<Class,String> imports,
int level,
CodegenIndent indent) |
void |
setBlock(CodegenBlock block) |
getParent
public CodegenStatementFor(CodegenBlock parent, Class type, String name, CodegenExpression initialization, CodegenExpression termination, CodegenExpression increment)
public void setBlock(CodegenBlock block)
public void render(StringBuilder builder, Map<Class,String> imports, int level, CodegenIndent indent)