Compiler Tree API

com.sun.source.tree
インタフェース CatchTree

すべてのスーパーインタフェース:
Tree

public interface CatchTree
extends Tree

「try」文中の「catch」ブロックのツリーノードです。 例を示します。

   catch ( parameter )
       block
 

導入されたバージョン:
1.6
関連項目:
言語仕様第 3 版』セクション 14.20

入れ子のクラスの概要
 
インタフェース com.sun.source.tree.Tree から継承された入れ子のクラス/インタフェース
Tree.Kind
 
メソッドの概要
 BlockTree getBlock()
           
 VariableTree getParameter()
           
 
インタフェース com.sun.source.tree.Tree から継承されたメソッド
accept, getKind
 

メソッドの詳細

getParameter

VariableTree getParameter()

getBlock

BlockTree getBlock()

Compiler Tree API

Report a bug or request a feature.
Copyright Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.