OpenJDK 1.22
jdk.compiler
com.sun.source.tree
UsesTree
Top
Description
Methods
com.sun.source.tree
public
Interface UsesTree
extends
DirectiveTree
Known Direct Implementers
com.
sun.
tools.
javac.
tree.
JCTree.
JCUses
A tree node for a 'uses' directive in a module declaration. For example:
uses
service-name
;
Since
9
Method Summary
Modifier and Type
Method and Description
public
ExpressionTree
Returns:
the name of the service type
getServiceName
()
Returns the name of the service type.
Method Detail
getServiceName
back to summary
public
ExpressionTree
getServiceName
()
Returns the name of the service type.
Returns:
ExpressionTree
the name of the service type