docs: private void addLocationsToBuilder(Element element, BeanDefinitionBuilder builder) {
          Element locationsElement = DomUtils.getChildElementByTagName(element, LOCATIONS);
          if (locationsElement != null) {
              List<Element> locationElements = DomUtils.getChildElementsByTagName(locationsElement, LOCATION);
  
              List<String> locations = locationElements.stream()
                      .map(locationElement -> locationElement.getAttribute("path"))
                      .collect(Collectors.toList());
  
              if (!locations.isEmpty()) {
                  builder.addPropertyValue(LOCATIONS, locations);
              }
          }
      }