From 995b7327fe0a400e1ced4e62719b287e3a322b99 Mon Sep 17 00:00:00 2001 From: Tony Torralba Date: Mon, 5 Dec 2022 08:59:15 +0100 Subject: [PATCH] Add missing QLDoc --- java/ql/lib/semmle/code/java/frameworks/kotlin/Text.qll | 1 + 1 file changed, 1 insertion(+) diff --git a/java/ql/lib/semmle/code/java/frameworks/kotlin/Text.qll b/java/ql/lib/semmle/code/java/frameworks/kotlin/Text.qll index 7f5c5b316c4..62eafa9565e 100644 --- a/java/ql/lib/semmle/code/java/frameworks/kotlin/Text.qll +++ b/java/ql/lib/semmle/code/java/frameworks/kotlin/Text.qll @@ -14,6 +14,7 @@ class KtToRegex extends MethodAccess { this.getMethod().hasName("toRegex") } + /** Gets the constant string value being converted to a regex by this call. */ string getExpressionString() { result = this.getArgument(0).(CompileTimeConstantExpr).getStringValue() }