public static void repaintPath(@NotNull JTree tree, @Nullable TreePath path) {
    assert EventQueue.isDispatchThread();
    repaintBounds(tree, tree.getPathBounds(path));
  }
public static void repaintPath(@NotNull JTree tree, @Nullable TreePath path)