String (Object... infos) { final Boolean isInterface = (Boolean)infos[0]; final String className = (String)infos[1]; return InspectionGadgetsBundle.message("casting.to.incompatible.interface.problem.descriptor", isInterface ? 1 : 2, className); }