# Uses of Package
com.sun.source.util

Packages that use com.sun.source.util
Package
Description
com.sun.source.util
Provides utilities for operations on abstract syntax trees (AST).
jdk.javadoc.doclet
The Doclet API provides an environment which, in conjunction with the Language Model API and Compiler Tree API, allows clients to inspect the source-level structures of programs and libraries, including API comments embedded in the source.

- Classes in com.sun.source.util used by com.sun.source.util
  Class
  Description
  DocSourcePositions
  Provides methods to obtain the position of a DocTree within a javadoc comment.
  DocTreeFactory
  Factory for creating `DocTree` nodes.
  DocTreePath
  A path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top-level `DocCommentTree` node.
  DocTrees
  Provides access to syntax trees for doc comments.
  DocTreeScanner
  A DocTreeVisitor that visits all the child tree nodes.
  JavacTask
  Provides access to functionality specific to the JDK Java Compiler, javac.
  ParameterNameProvider
  A provider for parameter names when the parameter names are not determined from a reliable source, like a classfile.
  SourcePositions
  Provides methods to obtain the position of a Tree within a CompilationUnit.
  TaskEvent
  Provides details about work that has been done by the JDK Java Compiler, javac.
  TaskEvent.Kind
  Kind of task event.
  TaskListener
  Provides a listener to monitor the activity of the JDK Java Compiler, javac.
  TreePath
  A path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top-level `CompilationUnitTree` node.
  Trees
  Bridges JSR 199, JSR 269, and the Tree API.
  TreeScanner
  A TreeVisitor that visits all the child tree nodes.
- Classes in com.sun.source.util used by jdk.javadoc.doclet
  Class
  Description
  DocTreePath
  A path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top-level `DocCommentTree` node.
  DocTrees
  Provides access to syntax trees for doc comments.