public void addEscapedCodePoint(int codePoint) {
		ensureTextMode();
		char escapeChar =
			(codePoint < MAX_ASCII) ? 'x' : Character.isBmpCodePoint(codePoint) ? 'u' : 'U';
		int cpDigits = (codePoint < MAX_ASCII) ? 2 : Character.isBmpCodePoint(codePoint) ? 4 : 8;
		String s = Integer.toHexString(codePoint).toUpperCase();
		sb.append("\\").append(escapeChar);
		sb.append(StringUtilities.pad(s, '0', cpDigits));
	}
Add a unicode codepoint as its escaped hex value, with a escape character
prefix of 'x', 'u' or 'U' depending on the magnitude of the codePoint value.
<p>
{@literal codePoint 15 -> '\' 'x' "0F"}<br>
{@literal codePoint 65535 -> '\' 'u' "FFFF"}<br>
{@literal codePoint 65536 -> '\' 'U' "00010000"}<br>

@param codePoint int value
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/StringRenderBuilder.java