private static void select(@NotNull MoveType type, @NotNull JTree tree, int row) {
    select(type, tree, tree.getPathForRow(row), row);
  }
private static void select(@NotNull MoveType type, @NotNull JTree tree, int row)