void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { final PsiMethodCallExpression printStreamPrintfCall = getDirectParentMethod(element); if (printStreamPrintfCall == null) return; ExpressionUtils.bindCallTo(printStreamPrintfCall, "print"); final PsiExpressionList argumentList = printStreamPrintfCall.getArgumentList(); final PsiExpression arg = PsiUtil.skipParenthesizedExprDown(argumentList.getExpressions()[0]); if (arg instanceof PsiMethodCallExpression && STRING_FORMAT.matches(arg) && isStringFormatCallRedundant((PsiMethodCallExpression)arg)) { removeRedundantStringFormatCall((PsiMethodCallExpression)arg); } }