@Exported 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, 2015, Oracle and/or its affiliates. All rights reserved.
DRAFT internal-b68