public void type(SymtabEntry newType) { if (newType == null) typeName(""); else typeName(newType.fullName()); _type = newType; if (_type instanceof ForwardEntry) ((ForwardEntry) _type).types.addElement(this); } // type
/** This is a shallow copy constructor */ SymtabEntry(SymtabEntry that) { _module = that._module; _name = that._name; _type = that._type; _typeName = that._typeName; _sourceFile = that._sourceFile; _info = that._info; _repID = (RepositoryID) that._repID.clone(); _container = that._container; if (_type instanceof ForwardEntry) ((ForwardEntry) _type).types.addElement(this); initDynamicVars(); // <21JUL1997> _comment = that._comment; } // ctor