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.
1 parent 02581a3 commit 09a0730Copy full SHA for 09a0730
java/ql/lib/semmle/code/java/frameworks/Properties.qll
@@ -56,6 +56,9 @@ class PropertiesGetPropertyMethodCall extends MethodCall {
56
this.getArgument(0).(ConstantStringExpr).getStringValue() = result.getNameElement().getName()
57
}
58
59
+ /**
60
+ * Get the potential string values that can be associated with the given property name.
61
+ */
62
string getPropertyValue() {
63
result = this.getPair().getValueElement().getValue() or
64
result = this.getArgument(1).(ConstantStringExpr).getStringValue()
0 commit comments