パッケージ | 説明 |
---|---|
com.sun.source.util |
抽象構文ツリー (Abstract Syntax Tree、AST) の操作のためのユーティリティーを提供します。
|
修飾子と型 | メソッドと説明 |
---|---|
TreePath |
TreePathScanner.getCurrentPath()
現在アクティブなスキャン呼び出しのセットによって構築される、ノードの現在のパスを取得します。
|
TreePath |
TreePath.getParentPath()
包含するノードのパスを取得します。包含するノードがない場合は、null を返します。
|
static TreePath |
TreePath.getPath(CompilationUnitTree unit, Tree target)
コンパイルユニット内のツリーノードのツリーパスを取得します。
|
abstract TreePath |
Trees.getPath(CompilationUnitTree unit, Tree node)
指定されたコンパイルユニット内のツリーノードへのパスを取得します。
|
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 オブジェクトによって識別されるサブツリー内のツリーノードのツリーパスを取得します。
|
修飾子と型 | メソッドと説明 |
---|---|
abstract String |
Trees.getDocComment(TreePath path)
指定された TreePath によって識別される Tree ノードのドキュメンテーションコメント (存在する場合) を取得します。
|
abstract Element |
Trees.getElement(TreePath path)
指定された TreePath によって識別される Tree ノードの Element を取得します。
|
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 によって識別される位置からツリーをスキャンします。
|
コンストラクタと説明 |
---|
TreePath(TreePath p, Tree t)
子ノードの TreePath を作成します。
|
Copyright © 2005, 2013, Oracle and/or its affiliates. All rights reserved.