| パッケージ | 説明 | 
|---|---|
| com.sun.source.util | 抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。 | 
| 修飾子と型 | メソッド | 説明 | 
|---|---|---|
| TreePath | TreePathScanner. getCurrentPath()現在アクティブなスキャン呼出しのセットによって構築される、ノードの現在のパスを取得します。 | |
| TreePath | TreePath. getParentPath()包含するノードのパスを取得します。包含するノードがない場合は、nullを返します。 | |
| abstract TreePath | Trees. getPath(CompilationUnitTree unit, Tree node)指定されたコンパイル・ユニット内のツリー・ノードへのパスを取得します。 | |
| static TreePath | TreePath. getPath(CompilationUnitTree unit, Tree target)コンパイル・ユニット内のツリー・ノードのツリー・パスを取得します。 | |
| abstract TreePath | Trees. getPath(Element e)指定されたElementのTreePathノードを取得します。 | |
| abstract TreePath | Trees. getPath(Element e, AnnotationMirror a)指定されたElement上のAnnotationMirrorのTreePathノードを取得します。 | |
| abstract TreePath | Trees. getPath(Element e, AnnotationMirror a, AnnotationValue v)指定されたElement上のAnnotationMirrorのAnnotationValueのTreePathノードを取得します。 | |
| static TreePath | TreePath. getPath(TreePath path, Tree target)TreePathオブジェクトによって識別されるサブツリー内のツリー・ノードのツリー・パスを取得します。 | |
| TreePath | DocTreePath. getTreePath()このパスに関連付けられたTreePathを取得します。 | 
| 修飾子と型 | メソッド | 説明 | 
|---|---|---|
| abstract String | Trees. getDocComment(TreePath path)指定されたTreePathによって識別されるTreeノードのドキュメンテーション・コメント(存在する場合)を取得します。 | |
| abstract DocCommentTree | DocTrees. getDocCommentTree(TreePath path)指定されたTreePathによって識別されるTreeノードのドキュメンテーション・コメント・ツリー(存在する場合)を取得します。 | |
| abstract Element | Trees. getElement(TreePath path)指定されたTreePathによって識別されるTreeノードのElementを取得します。 | |
| static DocTreePath | DocTreePath. getPath(TreePath treePath, DocCommentTree doc, DocTree target)コンパイル・ユニット内のツリー・ノードのドキュメンテーション・ツリー・パスを取得します。 | |
| static TreePath | TreePath. getPath(TreePath path, Tree target)TreePathオブジェクトによって識別されるサブツリー内のツリー・ノードのツリー・パスを取得します。 | |
| abstract Scope | Trees. getScope(TreePath path)指定されたTreePathによって識別されるTreeノードのScopeを取得します。 | |
| abstract TypeMirror | Trees. getTypeMirror(TreePath path)指定されたTreePathによって識別されるTreeノードのTypeMirrorを取得します。 | |
| R | TreePathScanner. scan(TreePath path, P p)TreePathによって識別される位置からツリーをスキャンします。 | 
| コンストラクタ | 説明 | 
|---|---|
| DocTreePath(TreePath treePath, DocCommentTree t)ルート・ノードのDocTreePathを作成します。 | |
| TreePath(TreePath p, Tree t)子ノードのTreePathを作成します。 | 
 Copyright © 2005, 2025, Oracle and/or its affiliates.  All rights reserved.