public static DataType getBaseDataType(DataType dt) {
		if (dt instanceof TypeDef) {
			return ((TypeDef) dt).getBaseDataType();
		}
		return dt;
	}
Get the base data type of the given data type, following typedefs recursively

@param dt the data type
@return the base data type
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/listing/DBTraceData.java