@NotNull
  @Override
  public Collection<? extends ActionOrGroup> getVariants(@NotNull ConvertContext context) {
    final List<ActionOrGroup> variants = new ArrayList<>();
    final Set<String> processedVariants = new HashSet<>();

    processScopes(context, scope -> {
      IdeaPluginRegistrationIndex.processAllActionOrGroup(context.getProject(), scope, actionOrGroup -> {
        if (isRelevant(actionOrGroup) && processedVariants.add(getName(actionOrGroup))) {
          variants.add(actionOrGroup);
        }
        return true;
      });
      return true;
    });
    return variants;
  }
@NotNull
  @Override
  public Collection<? extends ActionOrGroup> getVariants(@NotNull ConvertContext context)