code: public TreeBuilder<T> listen(Listener<T> listener, PathSelector pathSelector) {
          return TreeBuilder.<T>builder(new ListenerTree<T>(build(), listener, pathSelector));
      }
docs: Listen to events on selective paths of the tree
  
  @param listener listener
  @param pathSelector path selector
  @return builder