Reports constant new array expressions that can be replaced with an array initializer. Array initializers omit the type declaration because it is already specified by the left side of the assignment.

Example:

  int[] foo = new int[] {42};

After the quick-fix is applied:

  int[] foo = {42};