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