インタフェースcom.sun.source.tree.VariableTree
の使用
-
VariableTreeを使用するパッケージ パッケージ 説明 com.sun.source.tree ソース・コードを抽象構文ツリー(Abstract Syntax Tree、AST)として表すためのインタフェースを提供します。com.sun.source.util 抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。 -
-
com.sun.source.treeでのVariableTreeの使用
VariableTreeを返すcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 VariableTree
CatchTree. getParameter()
catch変数を返します。VariableTree
MethodTree. getReceiverParameter()
明示的なレシーバ・パラメータ(パラメータ"this")、またはもしなければnull
を返します。VariableTree
EnhancedForLoopTree. getVariable()
ループの制御変数を返します。VariableTree型の引数を持つ型を返すcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 List<? extends VariableTree>
LambdaExpressionTree. getParameters()
このラムダ式のパラメータを返します。List<? extends VariableTree>
MethodTree. getParameters()
宣言されているメソッドのパラメータを返します。VariableTree型のパラメータを持つcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 R
TreeVisitor. visitVariable(VariableTree node, P p)
VariableTreeノードをビジットします。 -
com.sun.source.utilでのVariableTreeの使用
VariableTree型のパラメータを持つcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 R
SimpleTreeVisitor. visitVariable(VariableTree node, P p)
VariableTreeノードをビジットします。R
TreeScanner. visitVariable(VariableTree node, P p)
VariableTreeノードをビジットします。
-