public List<NodeDescriptor> getChildren(NodeDescriptor parent) {
    if (parent == null) {
      return myRootChildren;
    }

    List<NodeDescriptor> children = myChildrenMap.get(parent);
    return children != null ? children : Collections.emptyList();
  }
public List<NodeDescriptor> getChildren(NodeDescriptor parent)