public CatchClause(final MultiTypeParameter except, final BlockStmt catchBlock) { setExcept(except); setCatchBlock(catchBlock); }
public CatchClause(final int beginLine, final int beginColumn, final int endLine, final int endColumn, final int exceptModifier, final List<AnnotationExpr> exceptAnnotations, final List<Type> exceptTypes, final VariableDeclaratorId exceptId, final BlockStmt catchBlock) { super(beginLine, beginColumn, endLine, endColumn); setExcept(new MultiTypeParameter(beginLine, beginColumn, endLine, endColumn, exceptModifier, exceptAnnotations, exceptTypes, exceptId)); setCatchBlock(catchBlock); }
@Override public Node visit(final CatchClause n, final A arg) { n.setExcept((MultiTypeParameter) n.getExcept().accept(this, arg)); n.setCatchBlock((BlockStmt) n.getCatchBlock().accept(this, arg)); return n; }