private static void remove(@NotNull TreeChangeEventImpl destinationTreeChange, TreeElement first, TreeElement last) {
    if (first != null) {
      destinationTreeChange.addElementaryChange(first.getTreeParent());
      first.rawRemoveUpTo(last);
    }
  }
private static void remove(@NotNull TreeChangeEventImpl destinationTreeChange, TreeElement first, TreeElement last)