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