code: public void setAuxClasspathRef(Reference r) {
          Path path = createAuxClasspath();
          path.setRefid(r);
          path.toString(); // Evaluated for its side-effects (throwing a
          // BuildException)
      }
docs: Adds a reference to a sourcepath defined elsewhere.
  
  @param r
  reference to a sourcepath defined elsewhere