int[] a = {42}
The quick fix for this inspection adds a new array expression to the initializer, e.g. int[] a = new int[]{42}.
int[] a = new int[]{42}