Package org.sonar.plugins.java.api.tree
Interface ProvidesDirectiveTree
-
- All Superinterfaces:
ModuleDirectiveTree,Tree
- All Known Implementing Classes:
ProvidesDirectiveTreeImpl
@Beta public interface ProvidesDirectiveTree extends ModuleDirectiveTree
The 'provides' directive from java 9 module directives JLS9 - ยง7.7.4provides
typeName()withtypeNames();- Since:
- Java 9
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeTreetypeName()ListTree<TypeTree>typeNames()SyntaxTokenwithKeyword()-
Methods inherited from interface org.sonar.plugins.java.api.tree.ModuleDirectiveTree
directiveKeyword, semicolonToken
-
-
-
-
Method Detail
-
typeName
TypeTree typeName()
-
withKeyword
SyntaxToken withKeyword()
-
-