void (@NotNull Project project, PsiFile file, @Nullable Editor editor) { assert editor != null; action.actionPerformed(AnActionEvent.createFromDataContext(ActionPlaces.UNKNOWN, null, EditorUtil.getEditorDataContext(editor))); }