インタフェースcom.sun.source.tree.CatchTree
の使用
| パッケージ | 説明 |
|---|---|
| com.sun.source.tree |
ソース・コードを抽象構文ツリー(Abstract Syntax Tree、AST)として表すためのインタフェースを提供します。
|
| com.sun.source.util |
抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。
|
-
com.sun.source.treeでのCatchTreeの使用
型CatchTreeの引数を持つ型を返すcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 List<? extends CatchTree>TryTree. getCatches()try文で指定されたキャッチ・ブロックを返します。型CatchTreeのパラメータを持つcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 RTreeVisitor. visitCatch(CatchTree node, P p)CatchTreeノードをビジットします。 -
com.sun.source.utilでのCatchTreeの使用
型CatchTreeのパラメータを持つcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 abstract TypeMirrorTrees. getLub(CatchTree tree)catch句で宣言された例外パラメータのlubを返します。RSimpleTreeVisitor. visitCatch(CatchTree node, P p)CatchTreeノードをビジットします。RTreeScanner. visitCatch(CatchTree node, P p)CatchTreeノードをビジットします。