code: public static String formatAsDirectory(final String dotSep) {
          if (dotSep == null || "".equals(dotSep)) {
              return "";
          }
          return dotSep.replace(GROUP_SEPARATOR, PATH_SEPARATOR);
      }
docs: Replaces '.' with '/' to derive module path.
  @param dotSep The dot-separated name to process
  @return String The path with '.' replaced by '/'