void (@NotNull AnActionEvent e) { DefaultActionGroup vcsGroup = mergeVcsGroups(e); if (vcsGroup == null) { e.getPresentation().setVisible(false); } else { e.getPresentation().copyFrom(vcsGroup.getTemplatePresentation()); vcsGroup.update(e); } }