void (Short operand) { foo(<error descr="Inconvertible types; cannot cast 'java.lang.Short' to 'byte'">(byte)operand</error>); foo((<warning descr="Casting 'operand' to 'short' is redundant">short</warning>)operand); foo(<error descr="Inconvertible types; cannot cast 'java.lang.Short' to 'char'">(char)operand</error>); foo((int)operand); foo((long)operand); foo((float)operand); foo((double)operand); foo(<error descr="Inconvertible types; cannot cast 'java.lang.Short' to 'boolean'">(boolean)operand</error>); }