code: @Override
      public void visitClassContext(ClassContext classContext) {
          try {
              stack = new OpcodeStack();
              mapBugs = new ArrayList<>();
              setBugs = new ArrayList<>();
              hasMapComparator = false;
              hasSetComparator = false;
              super.visitClassContext(classContext);
              if (!hasMapComparator) {
                  for (BugInstance bi : mapBugs) {
                      bugReporter.reportBug(bi);
                  }
              }
  
              if (!hasSetComparator) {
                  for (BugInstance bi : setBugs) {
                      bugReporter.reportBug(bi);
                  }
              }
          } finally {
              stack = null;
              mapBugs = null;
              setBugs = null;
          }
      }
docs: implement the visitor to report bugs if no Tree comparators were found
  
  @param classContext
  the context object for the class currently being parsed