docs: public static void resolveKeyPath(KeyPath keyPath, int depth, List<KeyPath> accumulator,
        KeyPath currentPartialKeyPath, KeyPathElementContent content) {
      if (keyPath.fullyResolvesTo(content.getName(), depth)) {
        currentPartialKeyPath = currentPartialKeyPath.addKey(content.getName());
        accumulator.add(currentPartialKeyPath.resolve(content));
      }
    }