void (@NotNull ActionManager manager, @NotNull List<? super AnAction> actions) { List<AnAction> providerActions = collectVcsSpecificActions(manager); actions.removeAll(providerActions); actions.add(Separator.getInstance()); actions.addAll(providerActions); }