void () { if (!DumbService.isDumbAware(this) && DumbService.isDumb(myProject)) { Messages.showMessageDialog(myProject, RefactoringBundle.message("refactoring.not.available.indexing"), RefactoringBundle.message("refactoring.indexing.warning.title"), null); DumbModeBlockedFunctionalityCollector.INSTANCE.logFunctionalityBlocked(myProject, DumbModeBlockedFunctionality.RefactoringDialog); return; } doAction(); }