Bug 89137 [JFace] - API Review - "temporary" API in AbstractTreeViewer
AbstractTreeViewer contains two methods documented as "temporary" internalRefresh(Widget, Object) internalAdd(Widget, Object, Object [])
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
int oldCnt = -1;
        if (widget == tree)
            oldCnt = getItemCount(tree);
        Item[] items = getChildren(widget);
        
        CustomHashtable expanded = newHashtable(CustomHashtable.DEFAULT_CAPACITY); 
        for (int i = 0; i < items.length; ++i) {
            if (getExpanded(items[i])) {
                Object element = items[i].getData();
                if (element != null) {
                    expanded.put(element, element);
                }
            }
        }
        int min = Math.min(elementChildren.length, items.length);
        
        
        
        
        
        for (int i = items.length; --i >= min;) {
            if (items[i].getData() != null) {
                disassociate(items[i]);
            }
            items[i].dispose();
        }