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