private static void addIfNeeded(final @NotNull VirtualFile file, final @NotNull Collection<String> pathList) {
    addIfNeeded(pathList, file.getPath());
  }
private static void addIfNeeded(final @NotNull VirtualFile file, final @NotNull Collection<String> pathList)