@Override
  protected LocalQuickFix @NotNull [] buildFixes(Object... infos) {
    final String name = (String)infos[0];
    final Boolean onTheFly = (Boolean)infos[1];
    if (onTheFly.booleanValue()) {
      return new LocalQuickFix[]{new RenameFix(),
        new ExtendExceptionFix(name)};
    }
    else {
      return new LocalQuickFix[]{
        new ExtendExceptionFix(name)};
    }
  }
@Override
  protected LocalQuickFix @NotNull [] buildFixes(Object... infos)