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