TermSymbol(int pos, Name name, Symbol owner, int flags, int attrs, Symbol clasz) { super(VAL, pos, name, owner, flags, attrs); this.clasz = clasz == null && isModule() ? newModuleClass() : clasz; if (isModule()) setType(this.clasz.typeConstructor());
TermSymbol(Symbol owner, int pos, int flags, Name name, int attrs) { super(VAL, owner, pos, flags, name, attrs);
    TermSymbol(int pos, Name name, Symbol owner, int flags, int attrs, Symbol clasz) {        super(VAL, pos, name, owner, flags, attrs);        this.clasz = clasz == null && isModule() ? newModuleClass() : clasz;        if (isModule()) setType(this.clasz.typeConstructor());        assert name.isTermName(): Debug.show(this);        assert (isModule() || isConstructor()) == (this.clasz != null): this;    }