@Override
	public DataType getDataType(DataTypeManager dataTypeManager) {
		String name = getName();
		if (name == null) {
			return DataType.DEFAULT;
		}

		StructureDataType struct = new StructureDataType(name, 0, dataTypeManager);
		for (Field field : fields) {
			struct.add(field.type().getDataType(dataTypeManager), field.name(),
				field.description());
		}
		struct.setPackingEnabled(packed);
		struct.setCategoryPath(new CategoryPath(categoryPath));
		return struct;
	}
Gets the {@link List} of {@link Field}s

@return The {@link List} of {@link Field}s
Ghidra/Features/Base/src/main/java/ghidra/app/util/demangler/DemangledStructure.java