报告专门创建以作为可变参数传递的数组。

示例:

Arrays.asList(new String[]{"Hello", "world"})

快速修复将数组初始化器替换为单个参数:

Arrays.asList("Hello", "world")