code: public static DocPath forPackage(ClassDoc cd) {
          return (cd == null) ? empty : forPackage(cd.containingPackage());
      }
docs: Return the path for the package of a class.
  For example, if the class is java.lang.Object,
  the path is java/lang.