@Override
      public Object @NotNull [] getVariants() {
        return SyntaxTraverser.psiTraverser(getContainingFile()).filter(RegExpGroup.class)
          .filter(RegExpGroup::isAnyNamedGroup).toArray(new RegExpGroup[0]);
      }
@Override
      public Object @NotNull [] getVariants()