public static StorageClass getClass(String val) throws XmlParseException {
		switch (val) {
			case "general":
				return GENERAL;
			case "float":
				return FLOAT;
			case "ptr":
				return PTR;
			case "hiddenret":
				return HIDDENRET;
			case "vector":
				return VECTOR;
			case "class1":
				return CLASS1;
			case "class2":
				return CLASS2;
			case "class3":
				return CLASS3;
			case "class4":
				return CLASS4;
			default:
				break;
		}
		throw new XmlParseException("Unknown type class: " + val);
	}
Data-type class for the purpose of assigning storage
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/StorageClass.java