@Override
	public DataType toDataType() throws DuplicateNameException, IOException {
		String name =
			"method_info" + "|" + nameIndex + "|" + descriptorIndex + "|" + attributesCount + "|";

		Structure structure = new StructureDataType(name, 0);

		structure.add(WORD, "access_flags", null);
		structure.add(WORD, "name_index", null);
		structure.add(WORD, "descriptor_index", null);
		structure.add(WORD, "attributes_count", null);

		for (int i = 0; i < attributes.length; ++i) {
			structure.add(attributes[i].toDataType(), "attributes_" + i, null);
		}

		return structure;
	}
Clips the encoded return type from the method descriptor then
decodes it into a readable data type.
Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/MethodInfoJava.java