List<MergeLineFragment> (@NotNull List<? extends MergeRange> conflicts) { //noinspection SSBasedInspection - Can't use ContainerUtil return conflicts.stream().map(ch -> new MergeLineFragmentImpl(ch)).collect(Collectors.toList()); }