org.sonar.plugins.java.api.tree
Interface SwitchStatementTree

All Superinterfaces:
StatementTree, Tree

@Beta
public interface SwitchStatementTree
extends StatementTree

'switch' statement. JLS 14.11

   switch ( expression() ) {
     cases()
   }
 

Since:
Java 1.3

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sonar.plugins.java.api.tree.Tree
Tree.Kind
 
Method Summary
 List<CaseGroupTree> cases()
           
 ExpressionTree expression()
           
 
Methods inherited from interface org.sonar.plugins.java.api.tree.Tree
accept, is
 

Method Detail

expression

ExpressionTree expression()

cases

List<CaseGroupTree> cases()


Copyright © 2012-2014 SonarSource. All Rights Reserved.