while (owner != Symbol.NONE) {
while (!owner.isRoot()) {
    DocSyms(Global global, Symbol[] packages) {	syms = new HashSet();	for(int i = 0; i < packages.length; i++) {	    Symbol pack = packages[i];	    // add all sub-members.	    ScalaSearch.foreach(pack,				new ScalaSearch.SymFun() {				    public void apply(Symbol sym) {					syms.add(sym);				    }				}				);	    // add all super packages.	    Symbol owner = pack.owner();	    while (owner != Symbol.NONE) {		syms.add(owner.module());		owner = owner.owner();	    }	}    }