private static void select(@NotNull MoveType type, @NotNull JTree tree, @NotNull TreePath path) {
    select(type, tree, path, tree.getRowForPath(path));
  }
private static void select(@NotNull MoveType type, @NotNull JTree tree, @NotNull TreePath path)