static HighlightInfo.Builder checkArrayInitializer(@NotNull PsiExpression initializer, @Nullable PsiType initializerType,
                                                     @NotNull PsiArrayInitializerExpression arrayInitializerExpression) {
    PsiType arrayType = arrayInitializerExpression.getType();
    if (!(arrayType instanceof PsiArrayType theArrayType)) return null;
    PsiType componentType = theArrayType.getComponentType();
    HighlightInfo.Builder info = checkArrayInitializerCompatibleTypes(initializer, initializerType, componentType);
    if (info != null) {
      PsiType sameType = JavaHighlightUtil.sameType(arrayInitializerExpression.getInitializers());
      VariableArrayTypeFix fix = sameType == null ? null : VariableArrayTypeFix.createFix(arrayInitializerExpression, sameType);
      if (fix != null) {
        info.registerFix(fix, null, null, null, null);
      }
    }
    return info;
  }
static HighlightInfo.Builder checkArrayInitializer(@NotNull PsiExpression initializer, @Nullable PsiType initializerType,
                                                     @NotNull PsiArrayInitializerExpression arrayInitializerExpression)