@Override
  public PsiElement bindToElement(final @NotNull PsiElement element) throws IncorrectOperationException {
    if (!(element instanceof PsiField field)) {
      throw new IncorrectOperationException();
    }

    PsiClass fieldClass = field.getContainingClass();
    if (fieldClass == null || !myClassReference.isReferenceTo(fieldClass)) {
      throw new IncorrectOperationException();
    }
    final String text = field.getName();
    updateRangeText(text);

    return myFile;
  }
@Override
  public PsiElement bindToElement(final @NotNull PsiElement element)