Пример #1
0
 public void visit(SwitchEntryStmt n, Object arg) {
   if (n.getLabel() != null) {
     n.getLabel().accept(this, arg);
   } else {
   }
   if (n.getStmts() != null) {
     for (Statement s : n.getStmts()) {
       s.accept(this, arg);
     }
   }
 }
 @Override
 public void visit(final SwitchEntryStmt n, final A arg) {
   visitComment(n.getComment(), arg);
   if (n.getLabel() != null) {
     n.getLabel().accept(this, arg);
   }
   if (n.getStmts() != null) {
     for (final Statement s : n.getStmts()) {
       s.accept(this, arg);
     }
   }
 }