Java.Locatable
public static class Java.SwitchStatement.SwitchBlockStatementGroup extends Java.Located
Modifier and Type | Field | Description |
---|---|---|
List<Java.BlockStatement> |
blockStatements |
The statements following the CASE labels.
|
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 | Description |
---|---|
SwitchBlockStatementGroup(Location location,
List<Java.Rvalue> caseLabels,
boolean hasDefaultLabel,
List<Java.BlockStatement> blockStatements) |
Modifier and Type | Method | Description |
---|---|---|
String |
toString() |
getLocation, throwCompileException
public final List<Java.Rvalue> caseLabels
public final boolean hasDefaultLabel
public final List<Java.BlockStatement> blockStatements
public SwitchBlockStatementGroup(Location location, List<Java.Rvalue> caseLabels, boolean hasDefaultLabel, List<Java.BlockStatement> blockStatements)
Copyright © 2001–2019. All rights reserved.