void () { String prefix = """ class A { String s = ""\" """; initDocument(prefix + "\\u005c\\u0040\"\"\";\n" + "}"); HighlighterIterator iterator = myHighlighter.createIterator(prefix.length()); assertEquals(StringEscapesTokenTypes.VALID_STRING_ESCAPE_TOKEN, iterator.getTokenType()); iterator.advance(); assertEquals(JavaTokenType.TEXT_BLOCK_LITERAL, iterator.getTokenType()); }