docs: protected void addDeclaredAnnotation(String annotation, Map<CharSequence, Object> values) {
          if (annotation != null) {
              String repeatedName = getRepeatedName(annotation);
              if (repeatedName != null) {
                  Object v = values.get(AnnotationMetadata.VALUE_MEMBER);
                  if (v instanceof io.micronaut.core.annotation.AnnotationValue[]) {
                      io.micronaut.core.annotation.AnnotationValue[] avs = (io.micronaut.core.annotation.AnnotationValue[]) v;
                      for (io.micronaut.core.annotation.AnnotationValue av : avs) {
                          addDeclaredRepeatable(annotation, av);
                      }
                  } else if (v instanceof Iterable) {
                      Iterable i = (Iterable) v;
                      for (Object o : i) {
                          if (o instanceof io.micronaut.core.annotation.AnnotationValue) {
                              addDeclaredRepeatable(annotation, ((io.micronaut.core.annotation.AnnotationValue) o));
                          }
                      }
                  }
              } else {
                  Map<String, Map<CharSequence, Object>> declaredAnnotations = getDeclaredAnnotationsInternal();
                  Map<String, Map<CharSequence, Object>> allAnnotations = getAllAnnotations();
                  addAnnotation(annotation, values, declaredAnnotations, allAnnotations, true);
              }
          }
      }