String (Object... infos) { final Object info = infos[0]; if (info instanceof PsiPrefixExpression prefixExpression) { return InspectionGadgetsBundle.message("boolean.expression.can.be.simplified.problem.descriptor", calculateReplacementExpression(prefixExpression, new CommentTracker())); } else { final PsiBinaryExpression binaryExpression = (PsiBinaryExpression)info; return InspectionGadgetsBundle.message("boolean.expression.can.be.simplified.problem.descriptor", calculateReplacementExpression(binaryExpression, new CommentTracker())); } }