Package asteroid.utils
Class StatementUtils.Group
- java.lang.Object
-
- asteroid.utils.StatementUtils.Group
-
- Enclosing class:
- StatementUtils
public static class StatementUtils.Group extends Object
Represent a group of statements grouped by a given label.- Since:
- 0.1.5
-
-
Field Summary
Fields Modifier and Type Field Description StatementUtils.LabellabelList<Statement>statements
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatementUtils.GroupcopyWithStatements(List<Statement> newStatements)Utility method to clone a givenStatementUtils.Groupchanging the statement list
-
-
-
Field Detail
-
label
public final StatementUtils.Label label
-
-
Method Detail
-
copyWithStatements
public StatementUtils.Group copyWithStatements(List<Statement> newStatements)
Utility method to clone a givenStatementUtils.Groupchanging the statement list- Parameters:
newStatements- the new statements of the group- Returns:
- a new
StatementUtils.Group
-
-