@Override
    public Object @NotNull [] getVariants() {
      final List<String> result = new LinkedList<>();

      IdRefReference.process(new PsiElementProcessor<>() {
        @Override
        public boolean execute(final @NotNull PsiElement element) {
          if (element instanceof XmlTag) {
            String forValue = ((XmlTag)element).getAttributeValue(IdReferenceProvider.FOR_ATTR_NAME);
            if (forValue != null) {
              result.add(forValue);
            }
          }
          return true;
        }
      }, myElement.getContainingFile());

      return ArrayUtil.toObjectArray(result);
    }
@Override
    public Object @NotNull [] getVariants()