if (item.getUserObject() instanceof ReplaceableController) {
ReplaceableController rc = (ReplaceableController) item.getTestElement();
HashTree subTree = tree.getTree(item);
if (subTree != null) {
rc.replace(subTree);
convertSubTree(subTree);
tree.replace(item, rc.getReplacement());
}
} else {
convertSubTree(tree.getTree(item));