| Package | Description | 
|---|---|
| com.sun.source.doctree | Provides interfaces to represent documentation comments as abstract syntax
 trees (AST). | 
| com.sun.source.util | Provides utilities for operations on abstract syntax trees (AST). | 
| Modifier and Type | Method | Description | 
|---|---|---|
| <R,D> R | DocTree. accept(DocTreeVisitor<R,D> visitor,
      D data)Accept method used to implement the visitor pattern. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | DocTreePathScanner<R,P>A DocTreeVisitor that visits all the child tree nodes, and provides
 support for maintaining a path for the parent nodes. | |
| class  | DocTreeScanner<R,P>A TreeVisitor that visits all the child tree nodes. | |
| class  | SimpleDocTreeVisitor<R,P>A simple visitor for tree nodes. | 
 Copyright © 2005, 2025, Oracle and/or its affiliates.  All rights reserved.