From 09a0730491921139313ebb41eb6850a127faed7c Mon Sep 17 00:00:00 2001 From: Ed Minnix Date: Fri, 15 Dec 2023 11:13:09 -0500 Subject: [PATCH] QLdoc fix --- java/ql/lib/semmle/code/java/frameworks/Properties.qll | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java/ql/lib/semmle/code/java/frameworks/Properties.qll b/java/ql/lib/semmle/code/java/frameworks/Properties.qll index 3bcf860d7ee..15e7b687885 100644 --- a/java/ql/lib/semmle/code/java/frameworks/Properties.qll +++ b/java/ql/lib/semmle/code/java/frameworks/Properties.qll @@ -56,6 +56,9 @@ class PropertiesGetPropertyMethodCall extends MethodCall { this.getArgument(0).(ConstantStringExpr).getStringValue() = result.getNameElement().getName() } + /** + * Get the potential string values that can be associated with the given property name. + */ string getPropertyValue() { result = this.getPair().getValueElement().getValue() or result = this.getArgument(1).(ConstantStringExpr).getStringValue()