ProblemDescriptor (@NotNull final PsiMethodCallExpression call) { final PsiExpressionList args = call.getArgumentList(); if (args.getExpressionCount() != 1) return null; final PsiElement methodNameReference = call.getMethodExpression().getReferenceNameElement(); if (methodNameReference == null) return null; final PsiExpression formatValue = args.getExpressions()[0]; if (containsNewlineToken(formatValue)) return null; return myManager.createProblemDescriptor(methodNameReference, InspectionGadgetsBundle.message("redundant.call.problem.descriptor"), new ReplaceWithPrintFix(), ProblemHighlightType.GENERIC_ERROR_OR_WARNING, myIsOnTheFly); }