List<AnAction> (@Nullable Project project, @Nullable AbstractVcs activeVcs, @Nullable DataContext dataContext) { if (activeVcs == null || !replaceVcsActionsFor(activeVcs, dataContext)) return null; final ActionManager manager = ActionManager.getInstance(); final List<AnAction> actions = new ArrayList<>(); ActionGroup vcsGroup = (ActionGroup)CustomActionsSchema.getInstance().getCorrectedAction(VcsActions.VCS_OPERATIONS_POPUP); ActionGroup vcsAwareGroup = (ActionGroup)ContainerUtil.find(vcsGroup.getChildren(null), action -> { if (action instanceof CustomisedActionGroup) action = ((CustomisedActionGroup)action).getOrigin(); return action instanceof VcsQuickListPopupAction.VcsAware; }); if (vcsAwareGroup != null) ContainerUtil.addAll(actions, vcsAwareGroup.getChildren(null)); customizeActions(manager, actions); return actions; }