Top Description Interfaces Classes
module jdk.compiler

Package com.sun.source.util


Provides utilities for operations on abstract syntax trees (AST).
Authors
Peter von der Ahé, Jonathan Gibbons
Since
1.6

Interface Summary

Modifier and TypeInterface and Description
public interface
DocSourcePositions

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

public interface
DocTreeFactory

Factory for creating DocTree nodes.

public interface
ParameterNameProvider

A provider for parameter names when the parameter names are not determined from a reliable source, like a classfile.

public interface
Plugin

The interface for a javac plug-in.

The javac plug-in mechanism allows a user to specify one or more plug-ins on the javac command line, to be started soon after the compilation has begun.

public interface
SourcePositions

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

public interface
TaskListener

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

Class Summary

Modifier and TypeClass and Description
public class
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.

public class
DocTreePathScanner<
the return type of this visitor's methods. Use Void for visitors that do not need to return results.
R
,
the type of the additional parameter to this visitor's methods. Use Void for visitors that do not need an additional parameter.
P
>

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

public abstract class
DocTrees

Provides access to syntax trees for doc comments.

public class
DocTreeScanner<
the return type of this visitor's methods. Use Void for visitors that do not need to return results.
R
,
the type of the additional parameter to this visitor's methods. Use Void for visitors that do not need an additional parameter.
P
>

A DocTreeVisitor that visits all the child tree nodes.

public abstract class
JavacTask

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

public class
SimpleDocTreeVisitor<
the return type of this visitor's methods. Use Void for visitors that do not need to return results.
R
,
the type of the additional parameter to this visitor's methods. Use Void for visitors that do not need an additional parameter.
P
>

A simple visitor for tree nodes.

public class
SimpleTreeVisitor<
the return type of this visitor's methods. Use Void for visitors that do not need to return results.
R
,
the type of the additional parameter to this visitor's methods. Use Void for visitors that do not need an additional parameter.
P
>

A simple visitor for tree nodes.

public class
TaskEvent

Provides details about work that has been done by the JDK Java Compiler, javac.

public class
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.

public class
TreePathScanner<
the return type of this visitor's methods. Use Void for visitors that do not need to return results.
R
,
the type of the additional parameter to this visitor's methods. Use Void for visitors that do not need an additional parameter.
P
>

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

public abstract class
Trees

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

public class
TreeScanner<
the return type of this visitor's methods. Use Void for visitors that do not need to return results.
R
,
the type of the additional parameter to this visitor's methods. Use Void for visitors that do not need an additional parameter.
P
>

A TreeVisitor that visits all the child tree nodes.