public @NotNull List<TextChangeImpl> getChanges() {
    if (myChanges.isEmpty()) return Collections.emptyList();
    List<TextChangeImpl> result = new ArrayList<>(myChanges.size());

    for (ChangeEntry changeEntry : myChanges) {
      result.add(changeEntry.change);
    }
    return result;
  }
public @NotNull List<TextChangeImpl> getChanges()