| パッケージ | 説明 | 
|---|---|
| com.sun.source.util | 抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。 | 
| 修飾子と型 | メソッド | 説明 | 
|---|---|---|
| DocTreePath | DocTreePathScanner. getCurrentPath()現在アクティブなスキャン呼出しのセットによって構築される、ノードの現在のパスを取得します。 | |
| DocTreePath | DocTreePath. getParentPath()包含するノードのパスを取得します。包含するノードがない場合は、nullを返します。 | |
| static DocTreePath | DocTreePath. getPath(DocTreePath path, DocTree target)DocTreePathオブジェクトによって識別されるサブツリー内のツリー・ノードのドキュメンテーション・ツリー・パスを取得します。 | |
| static DocTreePath | DocTreePath. getPath(TreePath treePath, DocCommentTree doc, DocTree target)コンパイル・ユニット内のツリー・ノードのドキュメンテーション・ツリー・パスを取得します。 | 
| 修飾子と型 | メソッド | 説明 | 
|---|---|---|
| abstract Element | DocTrees. getElement(DocTreePath path)指定された DocTreePathのリーフ・ノードによって参照される言語モデル要素を取得し、不明な場合はnullを取得します。 | |
| static DocTreePath | DocTreePath. getPath(DocTreePath path, DocTree target)DocTreePathオブジェクトによって識別されるサブツリー内のツリー・ノードのドキュメンテーション・ツリー・パスを取得します。 | |
| R | DocTreePathScanner. scan(DocTreePath path, P p)TreePathによって識別される位置からツリーをスキャンします。 | 
| コンストラクタ | 説明 | 
|---|---|
| DocTreePath(DocTreePath p, DocTree t)子ノードのDocTreePathを作成します。 | 
 Copyright © 2005, 2025, Oracle and/or its affiliates.  All rights reserved.