org.sonar.plugins.java.api.tree
Interface IfStatementTree
- All Superinterfaces:
- StatementTree, Tree
@Beta
public interface IfStatementTree
- extends StatementTree
'if' statement.
JLS 14.9
if (condition()) thenStatement()
if (condition()) thenStatement() else elseStatement()
- Since:
- Java 1.3
| Nested classes/interfaces inherited from interface org.sonar.plugins.java.api.tree.Tree |
Tree.Kind |
| Methods inherited from interface org.sonar.plugins.java.api.tree.Tree |
accept, is |
condition
ExpressionTree condition()
thenStatement
StatementTree thenStatement()
elseStatement
@Nullable
StatementTree elseStatement()
Copyright © 2012-2014 SonarSource. All Rights Reserved.