private static int computeUnescapeUnicodeJasm(String input, int cursor, StringBuilder builder) {
		// Bounds check
		if (cursor >= input.length())
			return 0;

		// Check if character is a special char
		char current = input.charAt(cursor);
		String escaped = switch (current) {
			case ' ' -> ESCAPED_SPACE;
			case '\t' -> ESCAPED_TAB;
			case '\n' -> ESCAPED_NEWLINE;
			case '\r' -> ESCAPED_RETURN;
			case '\"' -> ESCAPED_DOUBLE_QUOTE;
			case '\\' -> ESCAPED_BACKWARDS_SLASH;
			default -> WHITESPACE_TO_ESCAPE.get(current);
		};

		// Check if next character finishes an unescaped value, 1 if so, 0 if not.
		if (escaped != null) {
			builder.append(escaped);
			return 1;
		}

		// No replacement
		return 0;
	}
Replaces standard escape codes with literal values.
<br>
For example: {@code \n}, {@code \r}, {@code \t}, {@code \}, and {@code "}

@param input
		Input text.

@return String with escaped characters.
recaf-core/src/main/java/software/coley/recaf/util/EscapeUtil.java