docs: public static Set<Class<?>> findTypesAnnotatedWith(Class<? extends Annotation> annotation, Set<Class<?>> types) {
          if (annotation == null) {
              throw new IllegalArgumentException("An annotation type must be specified.");
          }
  
          return types.stream().filter(c -> c.isAnnotationPresent(annotation)).collect(Collectors.toSet());
      }