private static @SystemIndependent @NotNull String calcRootPath(@NotNull String rootId) {
    String path = System.getProperty(PathManager.PROPERTY_SCRATCH_PATH + "/" + rootId);
    if (path != null && path.length() > 2 && path.charAt(0) == '\"') {
      path = StringUtil.unquoteString(path);
    }
    return path != null ? FileUtil.toSystemIndependentName(path) :
           FileUtil.toSystemIndependentName(PathManager.getScratchPath()) + "/" + rootId;
  }
private static @SystemIndependent @NotNull String calcRootPath(@NotNull String rootId)