@NotNull
  @Override
  public List<PyClassLikeType> getAncestorTypes(@NotNull TypeEvalContext context) {
    if (!myTypesToMimicAsSuperTypes) return Collections.emptyList();

    final Set<PyClassLikeType> result = new LinkedHashSet<>();

    for (PyClassLikeType type : myTypesToMimic) {
      result.add(type);
      result.addAll(type.getAncestorTypes(context));
    }

    return new ArrayList<>(result);
  }
@NotNull
  @Override
  public List<PyClassLikeType> getAncestorTypes(@NotNull TypeEvalContext context)