@Override public Node visit(VariableDeclarator _n, Object _arg) { VariableDeclaratorId id = cloneNodes(_n.getId(), _arg); Expression init = cloneNodes(_n.getInit(), _arg); Comment comment = cloneNodes(_n.getComment(), _arg); VariableDeclarator r = new VariableDeclarator( _n.getBeginLine(), _n.getBeginColumn(), _n.getEndLine(), _n.getEndColumn(), id, init ); r.setComment(comment); return r; }