private static void selectExceptSeparator(@NotNull MoveType type, @NotNull JTree tree, int row) {
    TreePath path = tree.getPathForRow(row);
    if (!DefaultTreeUI.isSeparator(path)) {
      select(type, tree, path, row);
    }
  }
private static void selectExceptSeparator(@NotNull MoveType type, @NotNull JTree tree, int row)