private void invalidatePaths(@NotNull Collection<TreePath> paths, boolean structure) {
    if (paths.isEmpty()) {
      return;
    }
    paths.forEach(p -> myTreeModel.invalidate(p, structure));
  }
private void invalidatePaths(@NotNull Collection<TreePath> paths, boolean structure)