Package jminusminus
Class SwitchStatementGroup
java.lang.Object
jminusminus.SwitchStatementGroup
A switch statement group consists of case labels and a block of statements.
- 
Constructor SummaryConstructorsConstructorDescriptionSwitchStatementGroup(ArrayList<JExpression> switchLabels, ArrayList<JStatement> block) Constructs a switch-statement group.
- 
Method SummaryModifier and TypeMethodDescriptionvoidtoJSON(JSONElement json) Stores information about this switch statement group in JSON format.
- 
Constructor Details- 
SwitchStatementGroupConstructs a switch-statement group.- Parameters:
- switchLabels- case labels.
- block- block of statements.
 
 
- 
- 
Method Details- 
toJSONStores information about this switch statement group in JSON format.- Parameters:
- json- the JSON emitter.
 
 
-