LocalQuickFix (Object... infos) { final String replacement = calculateReplacementExpression((PsiNewExpression)infos[0], new CommentTracker()); final String name = CommonQuickFixBundle.message("fix.replace.with.x", replacement); return new UnnecessaryTemporaryObjectFix(name); }