Object (@Nonnull Object aObject) { if (<warning descr="Condition 'aObject == null' is always 'false'">aObject == null</warning>) { return new Object(); } return <warning descr="'null' is returned by the method declared as @Nonnull">null</warning>; }