@Nullable
  @Contract("null, _, _ -> null")
  public static PyType getTypeByName(@Nullable PsiElement anchor, @NotNull String type, @NotNull TypeEvalContext context) {
    if (anchor == null) return EMPTY_RESULT.getType();
    return parse(anchor, type, context).getType();
  }
@Nullable
  @Contract("null, _, _ -> null")
  public static PyType getTypeByName(@Nullable PsiElement anchor, @NotNull String type, @NotNull TypeEvalContext context)