void (@NotNull AnActionEvent e) { VcsLogUsageTriggerCollector.triggerUsage(e, this); Project project = e.getRequiredData(CommonDataKeys.PROJECT); VcsLogUiEx logUi = e.getRequiredData(VcsLogInternalDataKeys.LOG_UI_EX); VcsLogManager logManager = e.getRequiredData(VcsLogInternalDataKeys.LOG_MANAGER); Set<VirtualFile> visibleRoots = VcsLogUtil.getVisibleRoots(logUi); GoToHashOrRefPopup popup = new GoToHashOrRefPopup(project, logUi.getDataPack().getRefs(), visibleRoots, hash -> VcsLogNavigationUtil.jumpToRefOrHash(logUi, hash, false, true), reference -> VcsLogNavigationUtil.jumpToCommit(logUi, reference.getCommitHash(), reference.getRoot(), false, true), logManager.getColorManager(), new VcsGoToRefComparator(logUi.getDataPack().getLogProviders())); popup.show(logUi.getTable()); }