void () { final int i = 0; final char ch = (char) 0; final long l = 0L; double d = 0.0; float f = (float)1.0; d += <warning descr="Implicit numeric conversion of 'i' from 'int' to 'double'">i</warning>; f = f+<warning descr="Implicit numeric conversion of '1' from 'int' to 'float'">1</warning>; f = <warning descr="Implicit numeric conversion of 'i' from 'int' to 'float'">i</warning>; useInt(i); useInt(<warning descr="Implicit numeric conversion of ''c'' from 'char' to 'int'">'c'</warning>); useInt(<warning descr="Implicit numeric conversion of 'ch' from 'char' to 'int'">ch</warning>); useDouble(<warning descr="Implicit numeric conversion of '0' from 'int' to 'double'">0</warning>); useDouble(<warning descr="Implicit numeric conversion of '0.0F' from 'float' to 'double'">0.0F</warning>); useDouble(<warning descr="Implicit numeric conversion of '-0.0F' from 'float' to 'double'">-0.0F</warning>); useDouble(<warning descr="Implicit numeric conversion of 'i' from 'int' to 'double'">i</warning>); useDouble(<warning descr="Implicit numeric conversion of 'ch' from 'char' to 'double'">ch</warning>); useDouble(<warning descr="Implicit numeric conversion of 'l' from 'long' to 'double'">l</warning>); useDouble(d); useDouble(<warning descr="Implicit numeric conversion of 'f' from 'float' to 'double'">f</warning>); useDouble(1.0); useDouble(<warning descr="Implicit numeric conversion of '1.0F' from 'float' to 'double'">1.0F</warning>); useFloat(<warning descr="Implicit numeric conversion of '0' from 'int' to 'float'">0</warning>); useFloat(<warning descr="Implicit numeric conversion of '0L' from 'long' to 'float'">0L</warning>); useFloat(0.0F); useFloat(<warning descr="Implicit numeric conversion of 'i' from 'int' to 'float'">i</warning>); useFloat(<warning descr="Implicit numeric conversion of 'ch' from 'char' to 'float'">ch</warning>); useFloat(<warning descr="Implicit numeric conversion of 'l' from 'long' to 'float'">l</warning>); useFloat(f); useFloat(1.0F); useLong(<warning descr="Implicit numeric conversion of 'i' from 'int' to 'long'">i</warning>); useLong(<warning descr="Implicit numeric conversion of 'ch' from 'char' to 'long'">ch</warning>); useLong(l); useLong(3L); useLong(3L); int j = 0; <warning descr="Implicit numeric conversion of result value from 'long' to 'int'">j</warning>|=l; System.out.println(j); }