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