public interface SwitchTree extends StatementTree
switch
statement.
For example:
switch ( expression ) { cases }
Modifier and Type | Method and Description |
---|---|
List<? extends CaseTree> |
getCases()
Returns the cases for the
switch statement. |
ExpressionTree |
getExpression()
Returns the expression for the
switch statement. |
ExpressionTree getExpression()
switch
statement.
Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-06-25-232344.buildd.src