void (Object operand) { foo((<warning descr="Casting 'operand' to 'byte' is redundant">byte</warning>)operand); foo((<warning descr="Casting 'operand' to 'short' is redundant">short</warning>)operand); foo((<warning descr="Casting 'operand' to 'char' is redundant">char</warning>)operand); foo((<warning descr="Casting 'operand' to 'int' is redundant">int</warning>)operand); foo((<warning descr="Casting 'operand' to 'long' is redundant">long</warning>)operand); foo((<warning descr="Casting 'operand' to 'float' is redundant">float</warning>)operand); foo((<warning descr="Casting 'operand' to 'double' is redundant">double</warning>)operand); foo((<warning descr="Casting 'operand' to 'boolean' is redundant">boolean</warning>)operand); }