void (@NotNull Project project, @NotNull PsiElement startElement, @NotNull ModPsiUpdater updater) { final PsiMethodCallExpression call = ObjectUtils.tryCast(startElement, PsiMethodCallExpression.class); if (call == null) return; PsiExpression arg = getArgument(call); if (arg == null) return; CommentTracker tracker = new CommentTracker(); boolean couldBeUnwrappedRedundantConversion = couldBeUnwrappedRedundantConversion(arg, call); if (!couldBeUnwrappedRedundantConversion && !useEmptyString) { return; } PsiReplacementUtil.replaceExpression(call, calculateReplacementText(call, tracker.markUnchanged(arg), !couldBeUnwrappedRedundantConversion), tracker); }