String (Object... infos) { final String castExpressionType = ((PsiTypeElement)infos[1]).getText(); final String instanceofType = ((PsiTypeElement)infos[2]).getText(); return InspectionGadgetsBundle.message( "cast.conflicts.with.instanceof.problem.descriptor", castExpressionType, instanceofType); }