@Override
  public boolean isReferenceTo(@NotNull PsiElement element) {
    PsiFile containingFile = getContainingFile();
    return isReferenceTo(element, containingFile);
  }
@Override
  public boolean isReferenceTo(@NotNull PsiElement element)