code: private DocPath getPath(LinkInfoImpl linkInfo) {
          if (linkInfo.context == LinkInfoImpl.Kind.PACKAGE_FRAME) {
              //Not really necessary to do this but we want to be consistent
              //with 1.4.2 output.
              return DocPath.forName(linkInfo.classDoc);
          }
          return m_writer.pathToRoot.resolve(DocPath.forClass(linkInfo.classDoc));
      }
docs: Return path to the given file name in the given package. So if the name
  passed is "Object.html" and the name of the package is "java.lang", and
  if the relative path is "../.." then returned string will be
  "../../java/lang/Object.html"
  
  @param linkInfo the information about the link.