void (@NotNull AbstractTestProxy testProxy) { AbstractTestProxy current = testProxy; do { DefaultMutableTreeNode node = getNodeForElement(current); if (node != null) { JTree tree = getTree(); ((DefaultTreeModel)tree.getModel()).nodeChanged(node); } current = current.getParent(); } while (current != null); }