public void setChanges(@NotNull List<? extends LineRange> changes) {
    myStartLines.clear();
    myEndLines.clear();

    for (LineRange range : changes) {
      myStartLines.add(range.start);
      myEndLines.add(range.end);
    }
  }
public void setChanges(@NotNull List<? extends LineRange> changes)