@Override
  public Object @NotNull [] getVariants() {
    final AntDomMacroDef parentMacrodef = getParentMacrodef();
    if (parentMacrodef != null) {
      final List<Object> variants = new ArrayList<>();
      for (AntDomMacrodefAttribute attribute : parentMacrodef.getMacroAttributes()) {
        final String attribName = attribute.getName().getStringValue();
        if (attribName != null && !attribName.isEmpty()) {
          final LookupElementBuilder builder = LookupElementBuilder.create(attribName);
          final LookupElement element = AutoCompletionPolicy.GIVE_CHANCE_TO_OVERWRITE.applyPolicy(builder);
          variants.add(element);
        }
      }
      return ArrayUtil.toObjectArray(variants);
    }
    return EMPTY_ARRAY;
  }
@Override
  public Object @NotNull [] getVariants()