public class StatementModel extends CodeModel
| Constructor and Description |
|---|
StatementModel() |
| Modifier and Type | Method and Description |
|---|---|
static StatementModel |
block(List<StatementModel> statements) |
static StatementModel |
ifThenElse(ExpressionModel condition,
StatementModel thenBody,
StatementModel elseBody) |
static StatementModel |
render(java.util.function.Consumer<CodeWriter> c) |
static StatementModel |
render(String s) |
public static StatementModel ifThenElse(ExpressionModel condition, StatementModel thenBody, StatementModel elseBody)
public static StatementModel block(List<StatementModel> statements)
public static StatementModel render(java.util.function.Consumer<CodeWriter> c)
public static StatementModel render(String s)
Copyright © 2014. All Rights Reserved.