@Override
  public @NotNull List<PsiReference> getReferences(@NotNull PsiElement element, @NotNull Hints hints) {
    List<PsiReference> references = doGetReferences(element, hints);
    assertReferencesHaveSameElement(element, references);
    return references;
  }
@Override
  public @NotNull List<PsiReference> getReferences(@NotNull PsiElement element, @NotNull Hints hints)