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 87461fe commit 74b05d2Copy full SHA for 74b05d2
java/ql/test/kotlin/library-tests/reflection/reflection.ql
@@ -1,5 +1,4 @@
1
import java
2
-import semmle.code.java.dataflow.internal.DataFlowPrivate
3
4
// Stop external filepaths from appearing in the results
5
class ClassOrInterfaceLocation extends ClassOrInterface {
@@ -30,9 +29,9 @@ query predicate variableInitializerType(
30
29
decl.getInitializer().getType() = t2 and
31
t2.extendsOrImplements(t3) and
32
(
33
- compatible = true and compatibleTypes(t1, t2)
+ compatible = true and haveIntersection(t1, t2)
34
or
35
- compatible = false and not compatibleTypes(t1, t2)
+ compatible = false and notHaveIntersection(t1, t2)
36
)
37
}
38
0 commit comments