インタフェースcom.sun.source.tree.TypeParameterTree
の使用
-
TypeParameterTreeを使用するパッケージ パッケージ 説明 com.sun.source.tree ソース・コードを抽象構文ツリー(Abstract Syntax Tree、AST)として表すためのインタフェースを提供します。com.sun.source.util 抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。 -
-
com.sun.source.treeでのTypeParameterTreeの使用
TypeParameterTree型の引数を持つ型を返すcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 List<? extends TypeParameterTree>
ClassTree. getTypeParameters()
この型宣言の型パラメータを返します。List<? extends TypeParameterTree>
MethodTree. getTypeParameters()
宣言されているメソッドの型パラメータを返します。TypeParameterTree型のパラメータを持つcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 R
TreeVisitor. visitTypeParameter(TypeParameterTree node, P p)
TypeParameterTreeノードをビジットします。 -
com.sun.source.utilでのTypeParameterTreeの使用
TypeParameterTree型のパラメータを持つcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 R
SimpleTreeVisitor. visitTypeParameter(TypeParameterTree node, P p)
TypeParameterTreeノードをビジットします。R
TreeScanner. visitTypeParameter(TypeParameterTree node, P p)
TypeParameterTreeノードをビジットします。
-