Package | Description |
---|---|
org.sonar.java.ast.parser | |
org.sonar.java.model | |
org.sonar.java.model.declaration | |
org.sonar.plugins.java.api.tree |
Provides interfaces to represent Java source code as syntax tree.
|
Modifier and Type | Method and Description |
---|---|
ModuleDeclarationTree |
JavaGrammar.MODULE_DECLARATION() |
ModuleDeclarationTree |
TreeFactory.newModuleDeclaration(com.sonar.sslr.api.typed.Optional<List<AnnotationTreeImpl>> annotations,
com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> openToken,
InternalSyntaxToken moduleToken,
ModuleNameTree moduleName,
InternalSyntaxToken openBraceToken,
com.sonar.sslr.api.typed.Optional<List<ModuleDirectiveTree>> moduleDirectives,
InternalSyntaxToken closeBraceToken) |
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<ModuleDeclarationTree> moduleDeclaration,
com.sonar.sslr.api.typed.Optional<List<Tree>> typeDeclarations,
InternalSyntaxToken eof) |
Modifier and Type | Method and Description |
---|---|
ModuleDeclarationTree |
JavaTree.CompilationUnitTreeImpl.moduleDeclaration() |
Constructor and Description |
---|
CompilationUnitTreeImpl(PackageDeclarationTree packageDeclaration,
List<ImportClauseTree> imports,
List<Tree> types,
ModuleDeclarationTree moduleDeclaration,
SyntaxToken eofToken) |
Modifier and Type | Class and Description |
---|---|
class |
ModuleDeclarationTreeImpl |
Modifier and Type | Method and Description |
---|---|
ModuleDeclarationTree |
CompilationUnitTree.moduleDeclaration()
Experimental feature allowing retrieval of java 9 module declaration from 'module-info.java' files.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeVisitor.visitModule(ModuleDeclarationTree module) |
void |
BaseTreeVisitor.visitModule(ModuleDeclarationTree module) |
Copyright © 2012–2018 SonarSource. All rights reserved.