@Override
  protected void refreshElements(final PsiElement @NotNull [] elements) {
    ApplicationManager.getApplication().runReadAction(() -> {
      final PsiClass[] classesToMove = new PsiClass[elements.length];
      for (int i = 0; i < classesToMove.length; i++) {
        classesToMove[i] = (PsiClass)elements[i];
      }
      setClassesToMove(classesToMove);
    });
  }
@Override
  protected void refreshElements(final PsiElement @NotNull [] elements)