String (Object... infos) { final Boolean localVariable = (Boolean)infos[0]; if (localVariable.booleanValue()) { return InspectionGadgetsBundle.message("synchronization.on.local.variable.problem.descriptor"); } else { return InspectionGadgetsBundle.message("synchronization.on.method.parameter.problem.descriptor"); } }