Package com.sun.source.util

Provides utilities for operations on abstract syntax trees (AST).

Since:
1.6
Interface Description
DocSourcePositions

Provides methods to obtain the position of a DocTree within a javadoc comment.

DocTreeFactory

Factory for creating DocTree nodes.

Plugin

The interface for a javac plug-in.

SourcePositions

Provides methods to obtain the position of a Tree within a CompilationUnit.

TaskListener

Provides a listener to monitor the activity of the JDK Java Compiler, javac.

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.

DocTreePathScanner<R,​P>

A DocTreeVisitor that visits all the child tree nodes, and provides support for maintaining a path for the parent nodes.

DocTrees

Provides access to syntax trees for doc comments.

DocTreeScanner<R,​P>

A TreeVisitor that visits all the child tree nodes.

JavacTask

Provides access to functionality specific to the JDK Java Compiler, javac.

SimpleDocTreeVisitor<R,​P>

A simple visitor for tree nodes.

SimpleTreeVisitor<R,​P>

A simple visitor for tree nodes.

TaskEvent

Provides details about work that has been done by 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.

TreePathScanner<R,​P>

A TreeVisitor that visits all the child tree nodes, and provides support for maintaining a path for the parent nodes.

Trees

Bridges JSR 199, JSR 269, and the Tree API.

TreeScanner<R,​P>

A TreeVisitor that visits all the child tree nodes.

Enum Description
TaskEvent.Kind

Kind of task event.

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/jdk.compiler/com/sun/source/util/package-summary.html