@Override
	public void dataTypeReplaced(DataType oldDt, DataType newDt) {
		validate(newDt);
		if (oldDt == dataType) {
			settingsDef = null;
			if (dataMgr != null) {
				defaultSettings = null;
			}
			dataType = newDt;
			oldDt.removeParent(this);
			newDt.addParent(this);
			if (oldDt.getLength() != newDt.getLength()) {
				notifySizeChanged();
			}
			else if (oldDt.getAlignment() != newDt.getAlignment()) {
				notifyAlignmentChanged();
			}
		}
	}
Construct a new typedef.
@param path category path for this datatype
@param name name of this typedef
@param dt data type that is being typedef'ed (may not be null)
@param universalID the id for the data type
@param sourceArchive the source archive for this data type
@param lastChangeTime the last time this data type was changed
@param lastChangeTimeInSourceArchive the last time this data type was changed in
its source archive.
@param dtm the data type manager associated with this data type. This can be null.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/TypedefDataType.java