String (Object... infos) { final Check check = (Check)infos[0]; if (check == Check.CLASS_EQUALITY) { return InspectionGadgetsBundle.message("chain.of.class.equality.checks.problem.descriptor"); } return InspectionGadgetsBundle.message("chain.of.instanceof.checks.problem.descriptor"); }