@Override
  protected LocalQuickFix @NotNull [] buildFixes(Object... infos) {
    boolean canFix = (Boolean)infos[2];
    boolean patternSwitch = (Boolean)infos[3];
    List<LocalQuickFix> fixes = new ArrayList<>();
    if (canFix) {
      final Integer branchCount = (Integer)infos[0];
      fixes.add(new UnwrapSwitchStatementFix(branchCount));
    }
    if (patternSwitch) {
      fixes.add(LocalQuickFix.from(new UpdateInspectionOptionFix(
        this, "ignorePatternSwitch",
        InspectionGadgetsBundle.message("switch.statement.with.too.few.branches.ignore.pattern.option"),
        true)));
    }
    return fixes.toArray(LocalQuickFix.EMPTY_ARRAY);
  }
@Override
  protected LocalQuickFix @NotNull [] buildFixes(Object... infos)