コード例 #1
0
ファイル: DefinitionVisitor.java プロジェクト: ElliotCP/701A2
 public void visit(TryStmt n, Object arg) {
   n.getTryBlock().accept(this, arg);
   if (n.getCatchs() != null) {
     for (CatchClause c : n.getCatchs()) {
       c.accept(this, arg);
     }
   }
   if (n.getFinallyBlock() != null) {
     n.getFinallyBlock().accept(this, arg);
   }
 }