void () { new IntIntegerTest(new Integer(1)); // <-- incorrectly triggered f(new Integer(1)); // <-- not triggered g(((Integer.<warning descr="Unnecessary boxing">valueOf</warning>(1)))); g(((new <warning descr="Unnecessary boxing">Integer</warning>(1)))); }