List<DiffFragment> (@NotNull DiffIterable changes) { final List<DiffFragment> fragments = new ArrayList<>(); for (Range ch : changes.iterateChanges()) { fragments.add(new DiffFragmentImpl(ch.start1, ch.end1, ch.start2, ch.end2)); } return fragments; }