Module jdk.compiler

Interface UsesTree

  • All Superinterfaces:
    DirectiveTree, Tree


    public interface UsesTree
    extends DirectiveTree
    A tree node for a 'uses' directive in a module declaration. For example:
        uses service-name;
     
    Since:
    9
    • Method Detail

      • getServiceName

        ExpressionTree getServiceName​()
        Returns the name of the service type.
        Returns:
        the name of the service type