void () { doMemberTest(InspectionGadgetsBundle.message("smth.unnecessary.remove.quickfix", "synchronized"), """ public void printName(String lock) { synchronized/**/(lock) {} } """, """ public void printName(String lock) { } """ ); }