@Override public Node visit(SynchronizedStmt _n, Object _arg) { Expression expr = cloneNodes(_n.getExpr(), _arg); BlockStmt block = cloneNodes(_n.getBlock(), _arg); Comment comment = cloneNodes(_n.getComment(), _arg); SynchronizedStmt r = new SynchronizedStmt( _n.getBeginLine(), _n.getBeginColumn(), _n.getEndLine(), _n.getEndColumn(), expr, block ); r.setComment(comment); return r; }