/** * Visits this node, then the try-block, then any catch clauses, * and then any finally block. */ @Override public void visit(NodeVisitor v) { if (v.visit(this)) { tryBlock.visit(v); for (CatchClause cc : getCatchClauses()) { cc.visit(v); } if (finallyBlock != null) { finallyBlock.visit(v); } } } }
/** * Visits this node, then the try-block, then any catch clauses, * and then any finally block. */ @Override public void visit(NodeVisitor v) { if (v.visit(this)) { tryBlock.visit(v); for (CatchClause cc : getCatchClauses()) { cc.visit(v); } if (finallyBlock != null) { finallyBlock.visit(v); } } } }
/** * Visits this node, then the try-block, then any catch clauses, * and then any finally block. */ @Override public void visit(NodeVisitor v) { if (v.visit(this)) { tryBlock.visit(v); for (CatchClause cc : getCatchClauses()) { cc.visit(v); } if (finallyBlock != null) { finallyBlock.visit(v); } } } }
/** * Visits this node, then the try-block, then any catch clauses, * and then any finally block. */ @Override public void visit(NodeVisitor v) { if (v.visit(this)) { tryBlock.visit(v); for (CatchClause cc : getCatchClauses()) { cc.visit(v); } if (finallyBlock != null) { finallyBlock.visit(v); } } } }