@Override
  protected LocalQuickFix @NotNull [] buildFixes(Object... infos) {
    final PsiClass aClass = (PsiClass)infos[0];
    PsiField field = aClass.findFieldByName(HardcodedMethodConstants.SERIAL_VERSION_UID, false);
    if (field == null) return InspectionGadgetsFix.EMPTY_ARRAY;
    boolean onTheFly = (boolean)infos[1];
    LocalQuickFix removeFieldFix = (LocalQuickFix)QuickFixFactory.getInstance().createSafeDeleteFix(field);
    if (aClass.isAnnotationType() || aClass.isInterface() || aClass instanceof PsiAnonymousClass) {
      return onTheFly ? new LocalQuickFix[]{removeFieldFix} : InspectionGadgetsFix.EMPTY_ARRAY;
    }
    return onTheFly ? new LocalQuickFix[]{DelegatingFixFactory.createMakeSerializableFix(aClass), removeFieldFix} 
                    : new LocalQuickFix[]{DelegatingFixFactory.createMakeSerializableFix(aClass)};
  }
@Override
  protected LocalQuickFix @NotNull [] buildFixes(Object... infos)