@Override
  protected LocalQuickFix @NotNull [] buildFixes(Object... infos) {
    boolean indexed = (boolean)infos[0];
    if (indexed) {
      return new LocalQuickFix[]{
        new ForCanBeForeachFix(ignoreUntypedCollections),
        LocalQuickFix.from(new UpdateInspectionOptionFix(this, "REPORT_INDEXED_LOOP",
                                                         InspectionGadgetsBundle.message("for.can.be.foreach.fix.no.indexed"), false)),
      };
    }
    return new LocalQuickFix[]{new ForCanBeForeachFix(ignoreUntypedCollections)};
  }
@Override
  protected LocalQuickFix @NotNull [] buildFixes(Object... infos)