The Java rule S1612 produces a FP when the arguments of the lambda code are swapped.
func(str -> "true".equalsIgnoreCase(str));
str can be null. Hence I went for the swapped notation where the constant value is written first and equalsIgnoreCase() is executed on that value (that cannot be null).
S1612 wants me to use a function reference, which is necessarily executed on the nullable argument.