boolean () { if (super.performRefactoring()) { ApplicationManager.getApplication().invokeLater(() -> { PsiMethod restored = pointer.getElement(); if (restored != null) { processMethodsDuplicates(restored); } }); return true; } return false; }