public static DataType getReturnTypeOfMethodDescriptor(String methodDescriptor,
			DataTypeManager dtManager) {
		int closeParenIndex = methodDescriptor.indexOf(")");
		if (closeParenIndex == -1) {
			throw new IllegalArgumentException("Invalid method descriptor: " + methodDescriptor);
		}
		String returnDescriptor =
			methodDescriptor.substring(closeParenIndex + 1, methodDescriptor.length());
		if (returnDescriptor.startsWith("[")) {
			return getPointerType(returnDescriptor, dtManager);
		}
		return DescriptorDecoder.getDataTypeOfDescriptor(returnDescriptor, dtManager);
	}
Given a method descriptor, returns the data type of the return value of the corresponding
method
@param methodDescriptor descriptor of method
@param dtManager data type manger for containing program
@return data type of return value of method
Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/DescriptorDecoder.java