public String toHexString(int i, boolean zeropad, boolean header) {
		String s = Integer.toHexString(i);
		if (zeropad) {
			s = zeropad(s, 8);
		}
		return (header ? "0x" : "") + s;
	}
Returns a hex string representation of the integer.

@param i        the integer
@param zeropad  true if the value should be zero padded
@param header   true if "0x" should be prepended
@return the hex formatted string
Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/ExtendedFlatProgramAPI.java