@ApiStatus.Internal
  public void setScopeOwner(@NotNull PyQualifiedNameOwner scopeOwner) {
    if (myScopeOwner != null && myScopeOwner != scopeOwner) {
      throw new IllegalStateException("Cannot override the existing scope owner");
    }
    myScopeOwner = scopeOwner;
  }
@ApiStatus.Internal
  public void setScopeOwner(@NotNull PyQualifiedNameOwner scopeOwner)