code: void findEntries(ListIterator<PathElement> iterator, Collection<NotificationHandler> handlers, Notification notification) {
          if (!iterator.hasNext()) {
              for (ConcreteNotificationHandlerRegistration.NotificationHandlerEntry entry : entries) {
                  if (entry.getFilter().isNotificationEnabled(notification)) {
                      handlers.add(entry.getHandler());
                  }
              }
              return;
          }
  
          PathElement next = iterator.next();
          try {
              final NotificationHandlerNodeSubregistry subregistry = children.get(next.getKey());
              if (subregistry == null) {
                  return;
              }
              subregistry.findHandlers(iterator, next.getValue(), notification, handlers);
          } finally {
              iterator.previous();
          }
      }
docs: Collect all the entries in the {@code handler} notifications (if the registry is the leaf node) or continue to traverse the tree
  Only entries that are not filtered out after calling {@link org.jboss.as.controller.notification.NotificationFilter#isNotificationEnabled(org.jboss.as.controller.notification.Notification)} for the given {@code notification} are collected