-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionTreegetExpression()Returns the expression for the case, ornullif this is the default case.List<? extends StatementTree>getStatements()Returns the statements labeled by the case.
-
-
-
Method Detail
-
getExpression
ExpressionTree getExpression()
Returns the expression for the case, ornullif this is the default case.- Returns:
- the expression for the case, or null
-
getStatements
List<? extends StatementTree> getStatements()
Returns the statements labeled by the case.- Returns:
- the statements labeled by the case
-
-