@Override
    public boolean isReferenceTo(@NotNull PsiElement element) {
      if (!(element instanceof PsiFile)) return false;
      return getElement().getManager().areElementsEquivalent(resolve(), element);
    }
@Override
    public boolean isReferenceTo(@NotNull PsiElement element)