docs: private static void findAnnotatedElements(
        Element element,
        Set<? extends Class<? extends Annotation>> annotationClasses,
        ImmutableSetMultimap.Builder<Class<? extends Annotation>, Element> annotatedElements) {
      for (Element enclosedElement : element.getEnclosedElements()) {
        if (!enclosedElement.getKind().isClass() && !enclosedElement.getKind().isInterface()) {
          findAnnotatedElements(enclosedElement, annotationClasses, annotatedElements);
        }
      }
  
      // element.getEnclosedElements() does NOT return parameter elements
      if (element instanceof ExecutableElement) {
        for (Element parameterElement : ((ExecutableElement) element).getParameters()) {
          findAnnotatedElements(parameterElement, annotationClasses, annotatedElements);
        }
      }
      for (Class<? extends Annotation> annotationClass : annotationClasses) {
        if (isAnnotationPresent(element, annotationClass)) {
          annotatedElements.put(annotationClass, element);
        }
      }
    }