void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { Context context = Context.from(element); if (context == null) return; PsiExpression expression = ExpressionUtils.getEffectiveQualifier(context.myCall.getMethodExpression()); if (expression == null) return; CommentTracker ct = new CommentTracker(); String firstArg = expression instanceof PsiSuperExpression ? "this" : ct.text(expression); PsiElementFactory factory = JavaPsiFacade.getInstance(project).getElementFactory(); String text = "java.util.Collections.fill(" + firstArg + ", " + ct.text(context.myBody) + ")"; PsiExpression replacement = factory.createExpressionFromText(text, context.myCall); JavaCodeStyleManager.getInstance(project).shortenClassReferences(replacement); ct.replaceAndRestoreComments(context.myCall, replacement); }