@Override
	public default String getValueString(Settings settings) {
		long value = getValue(settings);
		if (!allowNegativeValue()) {
			byte[] bytes = BigEndianDataConverter.INSTANCE.getBytes(value);
			BigInteger unsignedValue = new BigInteger(1, bytes);
			return "0x" + unsignedValue.toString(16);
		}
		BigInteger signedValue = BigInteger.valueOf(value);
		String sign = "";
		if (signedValue.signum() < 0) {
			sign = "-";
			signedValue = signedValue.negate();
		}
		return sign + "0x" + signedValue.toString(16);
	}
Determine if hexidecimal entry/display is preferred due to the
nature of the setting (e.g., mask)
@return true if hex preferred over decimal, else false
Ghidra/Framework/Docking/src/main/java/ghidra/docking/settings/NumberSettingsDefinition.java