docs: @Nonnull
      public BugInstance addMethod(JavaClass javaClass, Method method) {
          MethodAnnotation methodAnnotation = new MethodAnnotation(javaClass.getClassName(), method.getName(),
                  method.getSignature(), method.isStatic());
          SourceLineAnnotation methodSourceLines = SourceLineAnnotation.forEntireMethod(javaClass, method);
          methodAnnotation.setSourceLines(methodSourceLines);
          addMethod(methodAnnotation);
          return this;
      }