public static String getMetatypeString(int meta) throws IOException {
		switch (meta) {
			case TYPE_VOID:
				return "void";
			case TYPE_UNKNOWN:
				return "unknown";
			case TYPE_INT:
				return "int";
			case TYPE_UINT:
				return "uint";
			case TYPE_BOOL:
				return "bool";
			case TYPE_CODE:
				return "code";
			case TYPE_FLOAT:
				return "float";
			case TYPE_PTR:
				return "ptr";
			case TYPE_PTRREL:
				return "ptrrel";
			case TYPE_ARRAY:
				return "array";
			case TYPE_STRUCT:
				return "struct";
			case TYPE_UNION:
				return "union";
		}
		throw new IOException("Unknown metatype");
	}
Convert a decompiler metatype code to a string for XML marshaling
@param meta is the metatype
@return the marshaling string
@throws IOException is the metatype is invalid
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/PcodeDataTypeManager.java