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 53b3755 commit 26267b7Copy full SHA for 26267b7
java/ql/automodel/src/AutomodelAlertSinkUtil.qll
@@ -96,7 +96,7 @@ class PotentialSinkModelExpr extends Expr {
96
or
97
this = call.getQualifier() and argIdx = -1
98
) and
99
- input = getArgumentForIndex(argIdx) and
+ (if argIdx = -1 then input = "Argument[this]" else input = "Argument[" + argIdx + "]") and
100
package = callable.getDeclaringType().getPackage().getName() and
101
type = callable.getDeclaringType().getErasure().(RefType).nestedName() and
102
subtypes = considerSubtypes(callable) and
0 commit comments