void (@NotNull AnActionEvent e) { final Editor editor = getEditor(e); final Project project = editor.getProject(); assert project != null; final PsiFile psiFile = e.getData(CommonDataKeys.PSI_FILE); if (psiFile == null) return; final I18nQuickFixHandler<?> handler = getHandler(e); if (handler == null) return; doI18nSelectedString(project, editor, psiFile, handler); }