AnAction (@NotNull @NlsActions.ActionText String name, @NotNull Collection<? extends VcsRef> refs) { return new DumbAwareAction(name) { @Override public void actionPerformed(@NotNull AnActionEvent e) { consumer.consume(name); } }; }