void (@NotNull PsiElement newElement, @NotNull String oldQualifiedName) { for (RefactoringElementListener listener : myListenerList) { if (listener instanceof UndoRefactoringElementListener) { ((UndoRefactoringElementListener)listener).undoElementMovedOrRenamed(newElement, oldQualifiedName); } } }