docs: public static void removeRecursive(ResultHierarchy hierarchy, Result child) {
      for(It<Result> iter = hierarchy.iterParents(child); iter.valid(); iter.advance()) {
        hierarchy.remove(iter.get(), child);
      }
      for(It<Result> iter = hierarchy.iterChildren(child); iter.valid(); iter.advance()) {
        removeRecursive(hierarchy, iter.get());
      }
    }