code: public JavaFileObject useSource(JavaFileObject file) {
          JavaFileObject prev = (source == null ? null : source.getFile());
          source = getSource(file);
          return prev;
      }
docs: Re-assign source, returning previous setting.