String (Object... infos) { final Integer type = (Integer)infos[0]; if (type.intValue() == 1) { return InspectionGadgetsBundle.message( "type.parameter.extends.object.problem.descriptor1"); } else { return InspectionGadgetsBundle.message( "type.parameter.extends.object.problem.descriptor2"); } }