else rhs = typeAsValue(typSym.pos, typSym.type(), accSym, EENV);
else { final Symbol[] vparams = accSym.valueParams(); final int pos = accSym.pos;  final HashMap varMap = new HashMap(); Symbol[] tparams = typSym.typeParams(); for (int i = 0; i < tparams.length; ++i) varMap.put(tparams[i], new Integer(i));  TEnv tEnv = new TEnv() { public boolean definesVar(Symbol sym) { return varMap.containsKey(sym); }  public Tree treeForVar(Symbol sym) { int idx = ((Integer)varMap.get(sym)).intValue(); Tree array = gen.mkLocalRef(pos, vparams[0]); return gen.mkArrayGet(pos, array, idx); } };  rhs = typeAsValue(typSym.pos, typSym.type(), accSym, tEnv); }
        private Tree.DefDef typeAccessorBody(Symbol typSym, Symbol accSym) {            Tree rhs;            if (typSym.isAbstractType())                rhs = Tree.Empty;            else if (typSym.isClass())                rhs = scalaClassType(typSym.pos, typSym.type(), accSym, EENV);            else                rhs = typeAsValue(typSym.pos, typSym.type(), accSym, EENV);            return gen.DefDef(accSym, rhs);        }