@Override
	protected void updatePath(DataTypeDB dt) {
		if (isAutoNamed() && dt == getDataType()) {
			// auto-named typedef follows category of associated datatype 
			CategoryPath oldPath = getCategoryPath();
			CategoryPath currentPath = dt.getCategoryPath();
			if (!currentPath.equals(oldPath)) {
				try {
					boolean nameChanged = false;
					String oldName = getName();
					String newName = generateTypedefName(currentPath);
					if (!newName.equals(oldName)) {
						nameChanged = true;
						record.setString(TypedefDBAdapter.TYPEDEF_NAME_COL, newName);
						refreshName();
					}
					super.setCategoryPath(currentPath);
					if (nameChanged) {
						notifyNameChanged(oldName);
					}
				}
				catch (DuplicateNameException e) {
					// should not happen
				}
			}
		}
	}
Construct TypeDefDB instance
@param dataMgr datatype manager
@param cache DataTypeDB cache
@param adapter TypeDef record adapter
@param record TypeDefDB record
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDB.java