void (Long value1, Long value2, Long value3) { // value1 is assumed to be nullable as passed to ofNullable long l1 = <warning descr="Unboxing of 'Optional.ofNullable(value1).orElse(null)' may produce 'NullPointerException'">Optional.ofNullable(value1).orElse(null)</warning>; // value2 is assumed to be notnull as just dereferenced long l2 = value2; // value3 is assumed to be nullable as passed to ofNullable long l3 = Optional.ofNullable(value3).orElse(-1L); long l3a = <warning descr="Unboxing of 'value3' may produce 'NullPointerException'">value3</warning>; }