docs: @Nonnull
      public BugInstance addMethod(PreorderVisitor visitor) {
          MethodAnnotation methodAnnotation = MethodAnnotation.fromVisitedMethod(visitor);
          addMethod(methodAnnotation);
          addSourceLinesForMethod(methodAnnotation, SourceLineAnnotation.fromVisitedMethod(visitor));
          return this;
      }