void () { int[] ints = {1, 2, 3}; bar1(<warning descr="Confusing primitive array argument to varargs method">ints</warning>); // warn here bar2(ints); // no warning needed here new PrimitiveArrayArgumentToVariableArgMethod(<warning descr="Confusing primitive array argument to varargs method">ints</warning>); }