private void cleanUpEmptyNodes(@NotNull CachingSimpleNode node) {
    node.cleanUpCache();
    myTreeModel.invalidateAsync(node, true);
    if (node.getChildren().length == 0) {
      if (node.getParent() instanceof CachingSimpleNode) {
        cleanUpEmptyNodes((CachingSimpleNode)node.getParent());
      }
    }
  }
private void cleanUpEmptyNodes(@NotNull CachingSimpleNode node)