docs: private void addFieldOrMethodAnnotationInfo(final AnnotationInfoList annotationInfoList, final boolean isField,
              final Map<String, ClassInfo> classNameToClassInfo) {
          if (annotationInfoList != null) {
              for (final AnnotationInfo fieldAnnotationInfo : annotationInfoList) {
                  final ClassInfo annotationClassInfo = getOrCreateClassInfo(fieldAnnotationInfo.getName(),
                          ANNOTATION_CLASS_MODIFIER, classNameToClassInfo);
                  // Mark this class as having a field or method with this annotation
                  this.addRelatedClass(isField ? RelType.FIELD_ANNOTATIONS : RelType.METHOD_ANNOTATIONS,
                          annotationClassInfo);
                  annotationClassInfo.addRelatedClass(
                          isField ? RelType.CLASSES_WITH_FIELD_ANNOTATION : RelType.CLASSES_WITH_METHOD_ANNOTATION,
                          this);
              }
          }
      }