@NotNull
  @Override
  public PyClassLikeType toClass() {
    return myInstanceType
           ? new PyCustomType(myQualifiedName, myFilter, false, myTypesToMimicAsSuperTypes, myTypesToMimic.toArray(new PyClassLikeType[0]))
           : this;
  }
@NotNull
  @Override
  public PyClassLikeType toClass()