public Tree TypeDef(Symbol sym) { return TypeDef(sym.pos, sym);
public TypeDef TypeDef(int pos, Symbol sym) { Global.instance.nextPhase(); Type symtype = sym.info(); Global.instance.prevPhase(); return (TypeDef) make.TypeDef( pos, sym.flags & SOURCEFLAGS, sym.name, mkTypeParams(pos, sym.typeParams()), mkType(pos, symtype)) .setSymbol(sym).setType(definitions.UNIT_TYPE);
    public Tree TypeDef(Symbol sym) {	return TypeDef(sym.pos, sym);    }