if (!prop.isCollection()) {
if (prop == null || !prop.isCollection()) {
    void frame(Generator gen) {        m_expr.frame(gen);        QFrame expr = gen.getFrame(m_expr);        QFrame frame = frame(gen, expr, m_name, this);        frame.addChild(0, expr);        Property prop = expr.getType().getProperty(m_name);        if (!prop.isCollection()) {            List children = frame.getChildren();            for (int i = 1; i < children.size(); i++) {                QFrame child = (QFrame) children.get(i);                child.setOuter(true);            }        }    }