@Override
  protected LocalQuickFix @NotNull [] buildFixes(Object... infos) {
    if (infos[0] instanceof PsiAnonymousClass) {
      return new LocalQuickFix[] {new GenerateEqualsMethodFix()};
    }

    return new LocalQuickFix[] {
      new GenerateEqualsMethodFix(),
      new AddNoteFix()
    };
  }
@Override
  protected LocalQuickFix @NotNull [] buildFixes(Object... infos)