void (@NotNull AnActionEvent e) { Project project = e.getProject(); if (project == null) return; List<IdeScriptEngineManager.EngineInfo> infos = IdeScriptEngineManager.getInstance().getEngineInfos(); chooseScriptEngineAndRun(e, infos, engineInfo -> runConsole(project, engineInfo)); }