private static @NotNull String trimTrailingSeparators(@NotNull String path) {
    path = StringUtil.trimEnd(path, JarFileSystem.JAR_SEPARATOR);
    path = UriUtil.trimTrailingSlashes(path);
    return path;
  }
private static @NotNull String trimTrailingSeparators(@NotNull String path)