public class CodegenStatementIfConditionBlock extends Object
Constructor and Description |
---|
CodegenStatementIfConditionBlock(CodegenExpression condition,
CodegenBlock block) |
Modifier and Type | Method and Description |
---|---|
CodegenBlock |
getBlock() |
CodegenExpression |
getCondition() |
void |
mergeClasses(Set<Class> classes) |
void |
render(StringBuilder builder,
Map<Class,String> imports,
int level,
CodegenIndent indent) |
public CodegenStatementIfConditionBlock(CodegenExpression condition, CodegenBlock block)
public CodegenExpression getCondition()
public CodegenBlock getBlock()
public void render(StringBuilder builder, Map<Class,String> imports, int level, CodegenIndent indent)