sup = getEmitted(lookup(ot.getExtends()));
sup = getEmitted(ot.getExtends());
    public void emit() {        for (Iterator it = m_order.iterator(); it.hasNext(); ) {            ObjectTypeNd ot = (ObjectTypeNd) it.next();            ObjectType sup = null;            if (ot.getExtends() != null) {                sup = getEmitted(lookup(ot.getExtends()));            }            ObjectType type =                new ObjectType                    (Model.getInstance(ot.getFile().getModel().getName()),                     ot.getName().getName(), sup);            addEmitted(type);        }    }