void (@NotNull final AnActionEvent e) { super.update(e); final RefactoringActionHandler handler = getHandler(e.getDataContext()); if (handler instanceof TitledHandler) { e.getPresentation().setText(((TitledHandler) handler).getActionTitle()); } else { e.getPresentation().setText(IdeBundle.messagePointer("action.presentation.ExtractIncludeAction.text")); } }