void (@NotNull ShelvedChangeList list) { updateTreeIfShown(tree -> { DefaultMutableTreeNode treeNode = TreeUtil.findNodeWithObject((DefaultMutableTreeNode)tree.getModel().getRoot(), list); if (treeNode == null) { LOG.warn(VcsBundle.message("shelve.changelist.not.found", list.DESCRIPTION)); return; } TreeUtil.selectNode(tree, treeNode); }); }