@Override
  public Object @NotNull [] getVariants() {
    final Map<String, XmlTag> idMap = getIdMap();
    if (idMap == null) return ArrayUtilRt.EMPTY_OBJECT_ARRAY;

    String[] variants = ArrayUtilRt.toStringArray(idMap.keySet());
    LookupElement[] elements = new LookupElement[variants.length];
    for (int i = 0, variantsLength = variants.length; i < variantsLength; i++) {
      elements[i] = LookupElementBuilder.create(variants[i]).withCaseSensitivity(true);
    }
    return elements;
  }
@Override
  public Object @NotNull [] getVariants()