private PsiReference @NotNull [] getReferencesByString(String str, @NotNull PsiElement position, int offsetInPosition) {
    return getFileReferencesFromString(str, position, offsetInPosition, this);
  }
private PsiReference @NotNull [] getReferencesByString(String str, @NotNull PsiElement position, int offsetInPosition)