| 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 and Description |
|---|---|
ImportClauseTree |
JavaGrammar.IMPORT_DECLARATION() |
ImportClauseTree |
TreeFactory.newEmptyImport(InternalSyntaxToken semicolonToken) |
| Modifier and Type | Method and Description |
|---|---|
JavaTree.CompilationUnitTreeImpl |
TreeFactory.newCompilationUnit(JavaTree spacing,
com.sonar.sslr.api.typed.Optional<PackageDeclarationTree> packageDeclaration,
com.sonar.sslr.api.typed.Optional<List<ImportClauseTree>> importDeclarations,
com.sonar.sslr.api.typed.Optional<List<Tree>> typeDeclarations,
InternalSyntaxToken eof) |
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaTree.ImportTreeImpl |
| Modifier and Type | Method and Description |
|---|---|
List<ImportClauseTree> |
JavaTree.CompilationUnitTreeImpl.imports() |
| Constructor and Description |
|---|
JavaTree.CompilationUnitTreeImpl(PackageDeclarationTree packageDeclaration,
List<ImportClauseTree> imports,
List<Tree> types,
SyntaxToken eofToken) |
| Modifier and Type | Class and Description |
|---|---|
class |
EmptyStatementTreeImpl |
| Modifier and Type | Interface and Description |
|---|---|
interface |
EmptyStatementTree
Empty statement.
|
interface |
ImportTree
Import declaration.
|
| Modifier and Type | Method and Description |
|---|---|
List<ImportClauseTree> |
CompilationUnitTree.imports() |
Copyright © 2012–2016 SonarSource. All rights reserved.