void (@NotNull List<UnifiedDiffChange> changes, boolean isContentsEqual, @NotNull List<? extends RangeMarker> guardedBlocks, @NotNull LineNumberConvertor convertor1, @NotNull LineNumberConvertor convertor2, @NotNull List<HighlightRange> ranges) { assert myPresentations.isEmpty() && myGuardedRangeBlocks.isEmpty() && myData == null; for (UnifiedDiffChange change : changes) { UnifiedDiffChangeUi changeUi = myViewer.createUi(change); changeUi.installHighlighter(); myPresentations.add(changeUi); } myGuardedRangeBlocks.addAll(guardedBlocks); myData = new ChangedBlockData(changes, convertor1, convertor2, ranges); myIsContentsEqual = ThreeState.fromBoolean(isContentsEqual); }