@Nullable
    private ProblemDescriptor getRedundantFormattedProblem(@NotNull final PsiMethodCallExpression call) {
      final PsiElement methodNameReference = call.getMethodExpression().getReferenceNameElement();
      if (methodNameReference == null) return null;

      if (call.getArgumentList().getExpressionCount() == 0 && !containsNewlineToken(call.getMethodExpression().getQualifierExpression())) {
          return myManager.createProblemDescriptor(methodNameReference,
                                                   InspectionGadgetsBundle.message("redundant.call.problem.descriptor"),
                                                   new RemoveRedundantStringFormattedFix(),
                                                   ProblemHighlightType.GENERIC_ERROR_OR_WARNING, myIsOnTheFly);
      }
      final PsiMethodCallExpression printlnCall = getDirectParentMethod(call);
      final boolean isPrintlnCall = PRINTSTREAM_PRINTLN.test(printlnCall);
      if (!isPrintlnCall && !PRINTSTREAM_PRINT.test(printlnCall)) return null;

      return myManager.createProblemDescriptor(methodNameReference,
                                               InspectionGadgetsBundle.message("redundant.call.problem.descriptor"),
                                               new ReplaceStringFormattedWithPrintfFix(isPrintlnCall),
                                               ProblemHighlightType.GENERIC_ERROR_OR_WARNING, myIsOnTheFly);
    }
@Nullable
    private ProblemDescriptor getRedundantFormattedProblem(@NotNull final PsiMethodCallExpression call)