static Type getOperandType(Class<?> cls) {
		Map<TypeVariable<?>, Type> args =
			TypeUtils.getTypeArguments(cls, PcodeUseropLibrary.class);
		if (args == null) {
			return null;
		}
		if (args.isEmpty()) {
			return Object.class;
		}
		return args.get(PcodeUseropLibrary.class.getTypeParameters()[0]);
	}
Get the type {@code T} for the given class

<p>
If the class does not implement {@link PcodeUseropLibrary}, this returns null. If it does,
but no arguments are given (i.e., it implements the raw type), this return {@link Object}.

@param cls the class
@return the type, or null
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/PcodeUseropLibrary.java