DefaultMutableTreeNode ret = null;
        public DefaultMutableTreeNode getNodeForCode(String code) {            DefaultMutableTreeNode ret = null;            DefaultMutableTreeNode root = (DefaultMutableTreeNode) tree.getModel()                    .getRoot();            SymbolPart sp = (SymbolPart) root.getUserObject();            if (Debug.debugging("symbology.detail")) {                Debug.output("Tree root object has " + sp.getClass().getName()                        + " user object with code |" + sp.getCode()                        + "| at code position "                        + sp.getCodePosition().startIndex);            }            if (sp.codeMatches(code)) {                return getNodeForCodeStartingAt(root, code);            } else {                return null;            }        }