## Uses of Interface
com.sun.source.tree.DirectiveTree

- Packages that use DirectiveTree
  Package | Description
  --- | ---
  com.sun.source.tree | Provides interfaces to represent source code as abstract syntax trees (AST).

- - ### Uses of DirectiveTree in com.sun.source.tree

    Subinterfaces of DirectiveTree in com.sun.source.tree
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `ExportsTree` | A tree node for an 'exports' directive in a module declaration.
    `interface` | `OpensTree` | A tree node for an 'opens' directive in a module declaration.
    `interface` | `ProvidesTree` | A tree node for a 'provides' directive in a module declaration.
    `interface` | `RequiresTree` | A tree node for a 'requires' directive in a module declaration.
    `interface` | `UsesTree` | A tree node for a 'uses' directive in a module declaration.

    Methods in com.sun.source.tree that return types with arguments of type DirectiveTree
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<? extends DirectiveTree>` | ModuleTree.`getDirectives​()` | Returns the directives in the module declaration.