void (boolean rootVisible, Consumer<? super JTree> consumer) { test(TreeSelectionModel.CONTIGUOUS_TREE_SELECTION, rootVisible, consumer); test(TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION, rootVisible, consumer); }