docs: public void setClasspathRef(Reference r) {
          Path path = createClasspath();
          path.setRefid(r);
          path.toString(); // Evaluated for its side-effects (throwing a
          // BuildException)
      }