Package | Description |
---|---|
org.sonar.java.ast.parser | |
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 |
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 | Class and Description |
---|---|
class |
ExportsDirectiveTreeImpl |
class |
ModuleDirectiveTreeImpl |
class |
OpensDirectiveTreeImpl |
class |
ProvidesDirectiveTreeImpl |
class |
RequiresDirectiveTreeImpl |
class |
UsesDirectiveTreeImpl |
Modifier and Type | Method and Description |
---|---|
List<ModuleDirectiveTree> |
ModuleDeclarationTreeImpl.moduleDirectives() |
Constructor and Description |
---|
ModuleDeclarationTreeImpl(List<AnnotationTree> annotations,
InternalSyntaxToken openKeyword,
InternalSyntaxToken moduleKeyword,
ModuleNameTree moduleName,
InternalSyntaxToken openBraceToken,
List<ModuleDirectiveTree> moduleDirectives,
InternalSyntaxToken closeBraceToken) |
Modifier and Type | Interface and Description |
---|---|
interface |
ExportsDirectiveTree
The 'exports' directive from java 9 module directives
JLS9 - §7.7.2
|
interface |
OpensDirectiveTree
The 'opens' directive from java 9 module directives
JLS9 - §7.7.2
|
interface |
ProvidesDirectiveTree
The 'provides' directive from java 9 module directives
JLS9 - §7.7.4
|
interface |
RequiresDirectiveTree
The 'requires' directive from java 9 module directives
JLS9 - §7.7.1
|
interface |
UsesDirectiveTree
The 'uses' directive from java 9 module directives
JLS9 - §7.7.3
|
Modifier and Type | Method and Description |
---|---|
List<ModuleDirectiveTree> |
ModuleDeclarationTree.moduleDirectives() |
Copyright © 2012–2018 SonarSource. All rights reserved.