We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
StringLiteral.getValue()
1 parent bfb9577 commit e1516b4Copy full SHA for e1516b4
java/ql/lib/semmle/code/java/Expr.qll
@@ -734,6 +734,9 @@ class StringLiteral extends Literal, @stringliteral {
734
/**
735
* Gets the string represented by this string literal, that is, the content
736
* of the literal without enclosing quotes and with escape sequences translated.
737
+ *
738
+ * Unpaired Unicode surrogate characters (U+D800 to U+DFFF) are replaced with the
739
+ * replacement character U+FFFD.
740
*/
741
override string getValue() { result = super.getValue() }
742
0 commit comments