@NotNull
  @Override
  public final List<PyClass> getAncestorClasses(@Nullable final TypeEvalContext context) {
    final List<PyClass> results = new ArrayList<>();
    for (final PyClassLikeType type : getAncestorTypes(notNullizeContext(context))) {
      if (type instanceof PyClassType) {
        results.add(((PyClassType)type).getPyClass());
      }
    }
    return results;
  }
@NotNull
  @Override
  public final List<PyClass> getAncestorClasses(@Nullable final TypeEvalContext context)