if (symbol.isRoot()) return Ident(pos, symbol); assert symbol.owner().isModuleClass(): Debug.show(symbol); return mkRef(pos, mkGlobalRef(pos, symbol.owner().module()), symbol);
assert symbol.isTerm(): Debug.show(symbol); Symbol owner = symbol.owner(); if (owner.isRoot()) return Ident(pos, symbol); assert owner.isModuleClass(): Debug.show(symbol); return mkRef(pos, mkGlobalRef(pos, owner.module()), symbol);
    public Tree mkGlobalRef(int pos, Symbol symbol) {        if (symbol.isRoot()) return Ident(pos, symbol);        assert symbol.owner().isModuleClass(): Debug.show(symbol);        return mkRef(pos, mkGlobalRef(pos, symbol.owner().module()), symbol);    }