@Override
  public List<AnAction> promote(@NotNull List<? extends AnAction> actions, @NotNull DataContext context) {
    for (AnAction action : actions) {
      if (action instanceof StopAction) {
        return new SmartList<>(action);
      }
    }
    return Collections.emptyList();
  }
@Override
  public List<AnAction> promote(@NotNull List<? extends AnAction> actions, @NotNull DataContext context)