public interface SwitchTree extends StatementTree
switch ( expression ) {
cases
}
| Modifier and Type | Method and 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-internal+0-2016-04-14-195246.buildd.src