@Override
  public PsiReference @NotNull [] getReferences() {
    final PrefixedName prefixedName = getQName();
    if (prefixedName != null && prefixedName.getPrefix() != null) {
      final PsiReference[] references =
        ReferenceProvidersRegistry.getReferencesFromProviders(this, PsiReferenceService.Hints.NO_HINTS);

      final PrefixReferenceImpl reference = new PrefixReferenceImpl(this, ((PrefixedNameImpl)prefixedName).getPrefixNode());
      return references.length > 0 ? ArrayUtil.append(references, reference) : new PsiReference[]{ reference };
    }
    return super.getReferences();
  }
@Override
  public PsiReference @NotNull [] getReferences()