void (java.util.List<String> list) { Object s = list.get(0); System.out.println(s.hashCode()); assert s instanceof String; assert <warning descr="Condition 'list.get(1) instanceof String' is redundant and can be replaced with a null check">list.get(1) instanceof String</warning>; assert <warning descr="Condition 's instanceof Number' is always 'false'">s instanceof Number</warning>; }