@Override
  public LocalQuickFix buildFix(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);
  }
@Override
  public LocalQuickFix buildFix(Object... infos)