void (@NotNull AnActionEvent e) { Project project = e.getProject(); e.getPresentation().setEnabled(project != null && getRevisionNumber(e) != null && Comparing.equal(getVcsKey(e), GitVcs.getKey())); }