@Override
  public PsiReference @NotNull [] getReferences(PsiReferenceService.@NotNull Hints hints) {
    PsiReference[] psiReferences = ReferenceProvidersRegistry.getReferencesFromProviders(this, hints);
    Integer offset = hints.offsetInElement;
    if (offset != null) {
      return PsiDynaReference.filterByOffset(psiReferences, offset);
    }
    return psiReferences;
  }
@Override
  public PsiReference @NotNull [] getReferences(PsiReferenceService.@NotNull Hints hints)