boolean (@NotNull Object element) { DefaultMutableTreeNode node = myTreeBuilder.getNodeForElement(element); if (node != null) { myTreeBuilder.queueUpdateFrom(element, false); return true; } else { return false; } }