docs: private static void addByClass(Registry registry, Class<?> clazz) {
          try {
              if (CLASS_2_ANNOTATION_VALIDATOR_MAP.contains(clazz)) {
                  return;
              }
              List<AnnotationValidator> annotationValidators = getAllAnnotationValidators(registry, clazz);
  
              if (CollectionUtil.isEmpty(annotationValidators)) {
                  LOGGER.debug(String.format("Annotation-based validation enabled for %s, and to-do validators are empty",
                          clazz.getSimpleName()));
              } else {
                  CLASS_2_ANNOTATION_VALIDATOR_MAP.putIfAbsent(clazz, annotationValidators);
                  LOGGER.debug(
                          String.format("Annotation-based validation added for %s, and to-do validators are %s", clazz
                                  .getSimpleName(), annotationValidators));
              }
          } catch (Exception e) {
              LOGGER.error("Failed to add annotation validators " + e.getMessage(), e);
          }
      }