StatementTree, Treepublic interface SwitchTree extends StatementTree
switch ( expression ) {
cases
}
| Modifier and Type | Method | Description |
|---|---|---|
List<? extends CaseTree> |
getCases() |
Returns the list of 'case' statements.
|
ExpressionTree |
getExpression() |
Returns the expression on which this statement switches.
|
accept, getEndPosition, getKind, getStartPositionExpressionTree getExpression()
Copyright © 2014, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b143-1ubuntu1