@Override
    public PsiReference @NotNull [] getReferencesByElement(@NotNull PsiElement element) {
      String name = element instanceof XmlAttributeValue ? ((XmlAttributeValue)element).getValue()
                                                         : ((XmlTag)element).getName();
      return getReferencesByString(name, element, 1);
    }
@Override
    public PsiReference @NotNull [] getReferencesByElement(@NotNull PsiElement element)