@NotNull
  @Override
  public List<PyClassLikeType> getAncestorTypes(@NotNull final TypeEvalContext context) {
    return ContainerUtil.filter(getAncestorTypesWithMetaClassInstances(context), type ->
      type == null || type.isDefinition()
    );
  }
@NotNull
  @Override
  public List<PyClassLikeType> getAncestorTypes(@NotNull final TypeEvalContext context)