void (@NotNull Project project, @NotNull PsiElement startElement, @NotNull ModPsiUpdater updater) { PsiCallExpression call = PsiTreeUtil.getParentOfType(startElement, PsiCallExpression.class); if (call == null) return; PsiExpressionList arguments = call.getArgumentList(); if (arguments == null) return; PsiElementFactory factory = JavaPsiFacade.getElementFactory(project); myCharsetOverload.additionalArguments().map(arg -> factory.createExpressionFromText(arg, call)).forEach(arguments::add); JavaCodeStyleManager.getInstance(project).shortenClassReferences(arguments); }