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 TypeMethod and Description
public ExpressionTree

Returns:

the name of the service type
getServiceName
()

Returns the name of the service type.

Method Detail

getServiceNameback to summary
public ExpressionTree getServiceName()

Returns the name of the service type.

Returns:ExpressionTree

the name of the service type