public static class Java.SwitchStatement.SwitchBlockStatementGroup extends Java.Located
Modifier and Type | Field and Description |
---|---|
java.util.List<Java.BlockStatement> |
blockStatements
The statements following the CASE labels.
|
java.util.List<Java.Rvalue> |
caseLabels
The CASE labels at the top of the 'switch block statement group'.
|
boolean |
hasDefaultLabel
Whether this 'switch block statement group' includes the DEFAULT label.
|
NOWHERE
Constructor and Description |
---|
SwitchBlockStatementGroup(Location location,
java.util.List<Java.Rvalue> caseLabels,
boolean hasDefaultLabel,
java.util.List<Java.BlockStatement> blockStatements) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
getLocation, throwCompileException
public final java.util.List<Java.Rvalue> caseLabels
public final boolean hasDefaultLabel
public final java.util.List<Java.BlockStatement> blockStatements
public SwitchBlockStatementGroup(Location location, java.util.List<Java.Rvalue> caseLabels, boolean hasDefaultLabel, java.util.List<Java.BlockStatement> blockStatements)