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 224e537 commit 0029d3bCopy full SHA for 0029d3b
java/ql/src/semmle/code/java/dataflow/ExternalFlow.qll
@@ -287,7 +287,7 @@ private predicate elementSpec(
287
bindingset[namespace, type, subtypes]
288
private RefType interpretType(string namespace, string type, boolean subtypes) {
289
exists(RefType t |
290
- t.hasQualifiedName(namespace, type) and
+ [t, t.getSourceDeclaration()].hasQualifiedName(namespace, type) and
291
if subtypes = true then result.getASourceSupertype*() = t else result = t
292
)
293
}
0 commit comments