インタフェースcom.sun.source.tree.MethodTree
の使用
| パッケージ | 説明 |
|---|---|
| com.sun.source.tree |
ソース・コードを抽象構文ツリー(Abstract Syntax Tree、AST)として表すためのインタフェースを提供します。
|
| com.sun.source.util |
抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。
|
-
com.sun.source.treeでのMethodTreeの使用
MethodTree型のパラメータを持つcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 RTreeVisitor. visitMethod(MethodTree node, P p)MethodTreeノードをビジットします。 -
com.sun.source.utilでのMethodTreeの使用
MethodTreeを返すcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 abstract MethodTreeTrees. getTree(ExecutableElement method)指定されたExecutableElementのMethodTreeノードを返します。MethodTree型のパラメータを持つcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 RSimpleTreeVisitor. visitMethod(MethodTree node, P p)MethodTreeノードをビジットします。RTreeScanner. visitMethod(MethodTree node, P p)MethodTreeノードをビジットします。