docs: static List<String> iterateDownPids(List<String> segments) {
          List<String> res = new ArrayList<>();
          for (int i = segments.size(); i > 0; i--) {
              StringBuilder sb = new StringBuilder();
              sb.append(JMX_ACL_PID_PREFIX);
              for (int j = 0; j < i; j++) {
                  sb.append('.');
                  sb.append(segments.get(j));
              }
              res.add(sb.toString());
          }
          res.add(JMX_ACL_PID_PREFIX); // this is the top PID (aka jmx.acl)
          return res;
      }