String (Object... infos) { final PsiType comparedType = (PsiType)infos[0]; final PsiType comparisonType = (PsiType)infos[1]; final boolean convertible = (boolean)infos[2]; if (convertible) { return InspectionGadgetsBundle.message( "equals.between.inconvertible.types.no.mutual.subclass.problem.descriptor", comparedType.getPresentableText(), comparisonType.getPresentableText()); } else { return InspectionGadgetsBundle.message( "equals.between.inconvertible.types.problem.descriptor", comparedType.getPresentableText(), comparisonType.getPresentableText()); } }