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, getStartPosition
ExpressionTree getExpression()
Copyright © 2014, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-03-31-172659.buildd.src