void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { final PsiMethodCallExpression stringFormatCall = getDirectParentMethod(element); if (stringFormatCall == null) return; final PsiMethodCallExpression printlnCall = getDirectParentMethod(stringFormatCall); if (printlnCall == null) return; final PsiExpressionList stringFormatArgs = stringFormatCall.getArgumentList(); if (myIsPrintlnCall) { addNewlineToFormatValue(stringFormatArgs); } ExpressionUtils.bindCallTo(printlnCall, "printf"); final PsiExpressionList printlnArgs = printlnCall.getArgumentList(); new CommentTracker().replaceAndRestoreComments(printlnArgs, stringFormatArgs); }