public void clearCachedChildren() {
      if (children != null) {
        for (Object child : children) {
          //noinspection unchecked
          ((ConvenientNode<T>)child).clearCachedChildren();
        }
      }
      removeAllChildren();
      setUserObject(null);
    }
public void clearCachedChildren()