docs: @Nonnull
      public BugInstance addClassAndMethod(PreorderVisitor visitor) {
          addClass(visitor);
          XMethod m = visitor.getXMethod();
          addMethod(visitor);
          if (!MemberUtils.isUserGenerated(m)) {
              foundInAutogeneratedMethod();
          }
          return this;
      }