private List<SourcePathAndRootIndex> normalizePaths(@NotNull List<SourcePathAndRootIndex> state) {
    List<SourcePathAndRootIndex> normalizePathList = new SmartList<>();
    state.forEach(it -> normalizePathList.add(new SourcePathAndRootIndex(normalizePath(it.myPath), it.myRootIndex)));
    return normalizePathList;
  }
private List<SourcePathAndRootIndex> normalizePaths(@NotNull List<SourcePathAndRootIndex> state)