public void foo( Boolean b ) {}
boolean b = ...;
foo( b ? true : null ); // FP
Please don’t ask for sense here. It’s just a stripped down example. But you can see, there is no redundant boolean literal here, since the else case of ternary operator is not false, but null.