TreeComponent treeComponent, int depth, boolean sendFullStates) {
TreeComponent treeComponent, int depth, boolean sendFullStates, String containerVarId) {
    public TreeRenderContext(ISelectItemNodeWriter renderer,            IComponentRenderContext componentRenderContext,            TreeComponent treeComponent, int depth, boolean sendFullStates) {        super(renderer, componentRenderContext, treeComponent, null);        FacesContext facesContext = componentRenderContext.getFacesContext();        checkable = treeComponent.isCheckable(facesContext);        if (checkable) {            writeCheckState = (treeComponent                    .isClientCheckFullState(facesContext) == false);        } else {            writeCheckState = false;        }        selectable = treeComponent.isSelectable(facesContext);        if (selectable) {            writeSelectionState = (treeComponent                    .isClientSelectionFullState(facesContext) == false);        } else {            writeSelectionState = false;        }        userExpandable = treeComponent.isUserExpandable(facesContext);        int preloadLevel = treeComponent.getPreloadedLevelDepth(facesContext);        if (preloadLevel > 0) {            preloadLevel += depth;            setPreloadedLevelDepth(preloadLevel);        }        Object value = treeComponent.getValue();        Object values[] = null;        if (value != null) {            if (value.getClass().isArray() == false) {                values = new Object[] { value };            } else {                values = (Object[]) value;            }        }        initializeTreeValue(facesContext, treeComponent, values);    }