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