Files
codeql/java/ql/consistency-queries/getAPrimaryQlClass.ql
2022-05-10 19:51:25 +01:00

11 lines
331 B
Plaintext

import java
from Top t
where
t.getAPrimaryQlClass() = "???" and
// TypeBound doesn't extend Top (but probably should); part of Kotlin #6
not t instanceof TypeBound and
// XMLLocatable doesn't extend Top (but probably should); part of Kotlin #6
not t instanceof XMLLocatable
select t, concat(t.getAPrimaryQlClass(), ",")