@Nullable
  @Override
  public PsiElement bindToElement(@NotNull PsiElement element) throws IncorrectOperationException {
    if (element.equals(resolve())) {
      return element;
    }
    if (myElement instanceof PyStringLiteralExpression e && element instanceof PyClass cls) {
      QualifiedName qname = QualifiedNameFinder.findCanonicalImportPath(cls, element);
      if (qname != null) {
        qname = qname.append(cls.getName());
        myType = new PyClassTypeImpl(cls, false);
        return ElementManipulators.handleContentChange(e, myFullRange, qname.toString());
      }
    }
    return null;
  }
@Nullable
  @Override
  public PsiElement bindToElement(@NotNull PsiElement element)