private static @Nullable Ref<@Nullable PyType> getTypeFromStarExpression(@NotNull PsiElement element, @NotNull TypeEvalContext context) {
    if (!(element instanceof PyStarExpression starExpression)) return null;
    PyExpression starredExpression = starExpression.getExpression();
    if (!(starredExpression instanceof PyReferenceExpression || starredExpression instanceof PySubscriptionExpression)) return null;
    return Ref.create(Ref.deref(getType(starredExpression, context)));
  }
private static @Nullable Ref<@Nullable PyType> getTypeFromStarExpression(@NotNull PsiElement element, @NotNull TypeEvalContext context)