if ((entry instanceof Compound) || (entry instanceof ComponentDescription)) {
if ((entry instanceof Compound) || ((showCDasChild)&&(entry instanceof ComponentDescription)) || ((showCDasChild)&&(entry instanceof Prim))) {
    public int getChildrenCount() {        //System.out.println(this.toString()+".getChildrenCount()");        if ((entry instanceof Compound) || (entry instanceof ComponentDescription)) {            return sizeChildren();        }        return 0;    }