| Package | Description |
|---|---|
| org.sonar.java.ast.parser | |
| org.sonar.java.model | |
| 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 | Description |
|---|---|---|
ImportClauseTree |
JavaGrammar.IMPORT_DECLARATION() |
|
ImportClauseTree |
TreeFactory.newEmptyImport(InternalSyntaxToken semicolonToken) |
| Modifier and Type | Class | Description |
|---|---|---|
static class |
JavaTree.ImportTreeImpl |
| Modifier and Type | Method | Description |
|---|---|---|
List<ImportClauseTree> |
JavaTree.CompilationUnitTreeImpl.imports() |
| Constructor | Description |
|---|---|
CompilationUnitTreeImpl(PackageDeclarationTree packageDeclaration,
List<ImportClauseTree> imports,
List<Tree> types,
ModuleDeclarationTree moduleDeclaration,
SyntaxToken eofToken) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
EmptyStatementTreeImpl |
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
EmptyStatementTree |
Empty statement.
|
interface |
ImportTree |
Import declaration.
|
| Modifier and Type | Method | Description |
|---|---|---|
List<ImportClauseTree> |
CompilationUnitTree.imports() |
Copyright © 2012–2018 SonarSource. All rights reserved.