if (value instanceof Prim) {
if ((value instanceof Prim)||(value instanceof ComponentDescription)) {
    private DeployEntry obj2Entry(Object value) {        try {            boolean newShowRootProcessName = (this.showRootProcessName&&(entry instanceof ProcessCompound));            if (value instanceof Prim) {                return (new DeployEntry(value,newShowRootProcessName,this.showCDasChild));            } else if (value instanceof Reference) {                do {                    ((Reference) value).setEager(true);                    value = ((Prim) entry).sfResolve((Reference) value);                } while (value instanceof Reference);                return (new DeployEntry(value,newShowRootProcessName,this.showCDasChild));            } else if (value instanceof ComponentDescription){                return (new DeployEntry(value,newShowRootProcessName,this.showCDasChild));            }        } catch (Exception ex) {            System.out.println("Error building mgt info: " + ex);            //return new DeployEntry((ex.getMessage()+(value.toString())));        }        return new DeployEntry();    }