String (Object... infos) { final boolean isIf = ((Boolean)infos[0]).booleanValue(); if (isIf) { return InspectionGadgetsBundle.message("variable.not.used.inside.if.problem.descriptor"); } else { return InspectionGadgetsBundle.message("variable.not.used.inside.conditional.problem.descriptor"); } }