void (@NotNull ActionContext context, @NotNull PsiExpressionList list, @NotNull ModPsiUpdater updater) { PsiExpression expression = list.getExpressions()[myIndex]; LOG.assertTrue(expression != null && expression.isValid()); PsiExpression modified = myArgumentFixerActionFactory.getModifiedArgument(expression, myToType); LOG.assertTrue(modified != null, myArgumentFixerActionFactory); PsiElement newElement = expression.replace(modified); JavaCodeStyleManager.getInstance(context.project()).shortenClassReferences(newElement); }