void () { doMemberTest(InspectionGadgetsBundle.message("if.may.be.factorized.quickfix"), """ boolean test(boolean duplicateExpression, boolean payload) { boolean reassigned = false; return (true &/**/ duplicateExpression) | duplicateExpression & ((reassigned = payload)); }""", """ boolean test(boolean duplicateExpression, boolean payload) { boolean reassigned = false; return duplicateExpression & (true | (reassigned = payload)); }""" ); }