void (String[] args) { Integer foo = 5; Integer bar = null; print(args == null || args.length == 0 ? bar : (Integer) 1); int i = args == null || args.length == 0 ? bar : (<warning descr="Casting '1' to 'Integer' is redundant">Integer</warning>) 1; }