Package | Description |
---|---|
org.sonar.java.ast.parser | |
org.sonar.java.model.declaration | |
org.sonar.java.model.statement | |
org.sonar.plugins.java.api.tree |
Provides interfaces to represent Java source code as syntax tree.
|
Modifier and Type | Method and Description |
---|---|
StatementTree |
JavaGrammar.FOR_STATEMENT() |
StatementTree |
JavaGrammar.STATEMENT() |
Constructor and Description |
---|
BlockStatementListTreeImpl(List<? extends StatementTree> statements) |
StatementExpressionListTreeImpl(List<? extends StatementTree> statementTrees,
List<SyntaxToken> separators) |
Modifier and Type | Class and Description |
---|---|
class |
ClassTreeImpl |
class |
EnumConstantTreeImpl |
class |
VariableTreeImpl |
Modifier and Type | Class and Description |
---|---|
class |
AssertStatementTreeImpl |
class |
BlockTreeImpl |
class |
BreakStatementTreeImpl |
class |
ContinueStatementTreeImpl |
class |
DoWhileStatementTreeImpl |
class |
EmptyStatementTreeImpl |
class |
ExpressionStatementTreeImpl |
class |
ForEachStatementImpl |
class |
ForStatementTreeImpl |
class |
IfStatementTreeImpl |
class |
LabeledStatementTreeImpl |
class |
ReturnStatementTreeImpl |
class |
StaticInitializerTreeImpl |
class |
SwitchStatementTreeImpl |
class |
SynchronizedStatementTreeImpl |
class |
ThrowStatementTreeImpl |
class |
TryStatementTreeImpl |
class |
WhileStatementTreeImpl |
Modifier and Type | Method and Description |
---|---|
StatementTree |
IfStatementTreeImpl.elseStatement() |
StatementTree |
WhileStatementTreeImpl.statement() |
StatementTree |
LabeledStatementTreeImpl.statement() |
StatementTree |
ForStatementTreeImpl.statement() |
StatementTree |
ForEachStatementImpl.statement() |
StatementTree |
DoWhileStatementTreeImpl.statement() |
StatementTree |
IfStatementTreeImpl.thenStatement() |
Modifier and Type | Method and Description |
---|---|
List<StatementTree> |
CaseGroupTreeImpl.body() |
List<StatementTree> |
BlockTreeImpl.body() |
ListTree<StatementTree> |
ForStatementTreeImpl.initializer() |
ListTree<StatementTree> |
ForStatementTreeImpl.update() |
Modifier and Type | Method and Description |
---|---|
IfStatementTreeImpl |
IfStatementTreeImpl.complete(InternalSyntaxToken ifKeyword,
InternalSyntaxToken openParenToken,
ExpressionTree condition,
InternalSyntaxToken closeParenToken,
StatementTree thenStatement) |
Modifier and Type | Interface and Description |
---|---|
interface |
AssertStatementTree
'assert' statement.
|
interface |
BlockTree
Block.
|
interface |
BreakStatementTree
'break' statement.
|
interface |
ClassTree
Class, enum, interface or annotation declaration.
|
interface |
ContinueStatementTree
'continue' statement.
|
interface |
DoWhileStatementTree
'do' statement.
|
interface |
EmptyStatementTree
Empty statement.
|
interface |
ExpressionStatementTree
Expression statement.
|
interface |
ForEachStatement
Enhanced 'for' statement.
|
interface |
ForStatementTree
'for' statement.
|
interface |
IfStatementTree
'if' statement.
|
interface |
LabeledStatementTree
Labeled statement.
|
interface |
ReturnStatementTree
'return' statement.
|
interface |
StaticInitializerTree
Static Initializer.
|
interface |
SwitchStatementTree
'switch' statement.
|
interface |
SynchronizedStatementTree
'synchronized' statement.
|
interface |
ThrowStatementTree
'throw' statement.
|
interface |
TryStatementTree
'try' statement.
|
interface |
VariableTree
Variable declaration.
|
interface |
WhileStatementTree
'while' statement.
|
Modifier and Type | Method and Description |
---|---|
StatementTree |
IfStatementTree.elseStatement() |
StatementTree |
WhileStatementTree.statement() |
StatementTree |
LabeledStatementTree.statement() |
StatementTree |
ForStatementTree.statement() |
StatementTree |
ForEachStatement.statement() |
StatementTree |
DoWhileStatementTree.statement() |
StatementTree |
IfStatementTree.thenStatement() |
Modifier and Type | Method and Description |
---|---|
List<StatementTree> |
CaseGroupTree.body() |
List<StatementTree> |
BlockTree.body() |
ListTree<StatementTree> |
ForStatementTree.initializer() |
ListTree<StatementTree> |
ForStatementTree.update() |
Copyright © 2012–2017 SonarSource. All rights reserved.