Reports 'if' statements which can be replaced with condition using '&&', '||' or '?:' operator. The result is usually shorter, but not always more clear, so it's not advised to apply it everywhere. Also this change may reduce compiled bytecode size which could be useful in some environments like J2ME.

Example: if (condition) return true; else return foo; could be replaced with return condition || foo;

Use checkbox to skip warning when '?:' operator is suggested. In this case only '&&' and '||' suggestions will be highlighted. The fix action to replace with '?:' will still be available in the editor.

New in 2018.2