void () { doTest("class X {" + " void test(boolean foo, boolean bar) {" + " boolean c = false;" + " boolean b = /*_Replace '?:' with boolean expression*/foo ? true : c || bar;" + " }" + "}", "class X {" + " void test(boolean foo, boolean bar) {" + " boolean c = false;" + " boolean b = foo && true || !foo && (c || bar);" + " }" + "}"); }