void (@NotNull MouseEvent e) { AnAction action = ActionManager.getInstance().getAction(IdeActions.ACTION_SHOW_INTENTION_ACTIONS); DataContext projectContext = SimpleDataContext.getProjectContext(myProject); AnActionEvent event = AnActionEvent.createFromInputEvent(e, ActionPlaces.MOUSE_SHORTCUT, null, projectContext); ActionsCollector.getInstance().record(myProject, action, event, myFile.getLanguage()); }