void (@NotNull TreeElement first, TreeElement last) { FileElement fileElement = TreeUtil.getFileElement(first); if (fileElement != null) { ChangeUtil.prepareAndRunChangeAction(destinationTreeChange -> { remove((TreeChangeEventImpl)destinationTreeChange, first, last); repairRemovedElement(fileElement, first); }, first.getTreeParent()); } else { first.rawRemoveUpTo(last); } }