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