void (DebuggerTreeNodeImpl from) { Enumeration children = from.children(); try { while (children.hasMoreElements()) { DebuggerTreeNodeImpl child = (DebuggerTreeNodeImpl)children.nextElement(); child.getDescriptor().updateRepresentation(null, child::labelChanged); updateNodeLabels(child); } } catch (NoSuchElementException ignored) { // children have changed - just skip } }