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 | Class and Description |
---|---|
class |
ModuleNameTreeImpl |
Modifier and Type | Method and Description |
---|---|
ModuleNameTree |
JavaGrammar.MODULE_NAME() |
ModuleNameTree |
TreeFactory.newModuleName(InternalSyntaxToken firstIdentifier,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,InternalSyntaxToken>>> rest) |
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) |
ModuleNameListTreeImpl |
TreeFactory.newModuleNameListTreeImpl(ModuleNameTree firstModuleName,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,ModuleNameTree>>> rest) |
ModuleDirectiveTree |
TreeFactory.newRequiresModuleDirective(InternalSyntaxToken requiresToken,
com.sonar.sslr.api.typed.Optional<List<InternalSyntaxToken>> modifiers,
ModuleNameTree moduleName,
InternalSyntaxToken semicolonToken) |
Modifier and Type | Method and Description |
---|---|
ModuleDirectiveTree |
TreeFactory.newExportsModuleDirective(InternalSyntaxToken exportsKeyword,
ExpressionTree packageName,
com.sonar.sslr.api.typed.Optional<TreeFactory.Tuple<InternalSyntaxToken,ListTreeImpl<ModuleNameTree>>> moduleNames,
InternalSyntaxToken semicolonToken) |
ModuleNameListTreeImpl |
TreeFactory.newModuleNameListTreeImpl(ModuleNameTree firstModuleName,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,ModuleNameTree>>> rest) |
ModuleDirectiveTree |
TreeFactory.newOpensModuleDirective(InternalSyntaxToken opensKeyword,
ExpressionTree packageName,
com.sonar.sslr.api.typed.Optional<TreeFactory.Tuple<InternalSyntaxToken,ListTreeImpl<ModuleNameTree>>> moduleNames,
InternalSyntaxToken semicolonToken) |
Modifier and Type | Method and Description |
---|---|
ModuleNameTree |
RequiresDirectiveTreeImpl.moduleName() |
ModuleNameTree |
ModuleDeclarationTreeImpl.moduleName() |
Modifier and Type | Method and Description |
---|---|
ListTree<ModuleNameTree> |
OpensDirectiveTreeImpl.moduleNames() |
ListTree<ModuleNameTree> |
ExportsDirectiveTreeImpl.moduleNames() |
Constructor and Description |
---|
ModuleDeclarationTreeImpl(List<AnnotationTree> annotations,
InternalSyntaxToken openKeyword,
InternalSyntaxToken moduleKeyword,
ModuleNameTree moduleName,
InternalSyntaxToken openBraceToken,
List<ModuleDirectiveTree> moduleDirectives,
InternalSyntaxToken closeBraceToken) |
RequiresDirectiveTreeImpl(InternalSyntaxToken requiresKeyword,
ModifiersTree modifiers,
ModuleNameTree moduleName,
InternalSyntaxToken semicolonToken) |
Constructor and Description |
---|
ExportsDirectiveTreeImpl(InternalSyntaxToken exportsKeyword,
ExpressionTree packageName,
InternalSyntaxToken toKeyword,
ListTree<ModuleNameTree> moduleNames,
InternalSyntaxToken semicolonToken) |
ModuleNameListTreeImpl(List<ModuleNameTree> moduleNames,
List<SyntaxToken> separators) |
OpensDirectiveTreeImpl(InternalSyntaxToken opensKeyword,
ExpressionTree packageName,
InternalSyntaxToken toKeyword,
ListTree<ModuleNameTree> moduleNames,
InternalSyntaxToken semicolonToken) |
Modifier and Type | Method and Description |
---|---|
ModuleNameTree |
RequiresDirectiveTree.moduleName() |
ModuleNameTree |
ModuleDeclarationTree.moduleName() |
Modifier and Type | Method and Description |
---|---|
ListTree<ModuleNameTree> |
OpensDirectiveTree.moduleNames() |
ListTree<ModuleNameTree> |
ExportsDirectiveTree.moduleNames() |
Copyright © 2012–2018 SonarSource. All rights reserved.