@Override
  public void beforeChildMovement(@NotNull PsiTreeChangeEvent event) {
    queueElement(event.getOldParent(), true, event);
    queueElement(event.getNewParent(), true, event);
  }
@Override
  public void beforeChildMovement(@NotNull PsiTreeChangeEvent event)