code: @Nonnull
      public BugInstance addClassAndMethod(JavaClass javaClass, Method method) {
          addClass(javaClass.getClassName());
          addMethod(javaClass, method);
  
          if (!MemberUtils.isUserGenerated(method)) {
              foundInAutogeneratedMethod();
          }
          return this;
      }
docs: Add class and method annotations for given class and method.
  
  @param javaClass
  the class
  @param method
  the method
  @return this object