void (List<@NotNull Object> list) { if (<warning descr="Condition 'list.get(0) == null' is always 'false'">list.get(0) == null</warning>) { return; } list.add(<warning descr="Passing 'null' argument to parameter annotated as @NotNull">null</warning>); }