docs: public AnnotationInfoList getAnnotationInfo() {
          if (!scanResult.scanSpec.enableAnnotationInfo) {
              throw new IllegalArgumentException("Please call ClassGraph#enableAnnotationInfo() before #scan()");
          }
          return annotationInfo == null ? AnnotationInfoList.EMPTY_LIST
                  : AnnotationInfoList.getIndirectAnnotations(annotationInfo, /* annotatedClass = */ null);
      }