Files
codeql/java/ql/consistency-queries/getAPrimaryQlClass.ql
2022-05-10 18:45:54 +01:00

14 lines
393 B
Plaintext

import java
from Top t
where t.getAPrimaryQlClass() = "???"
// TypeBound doesn't extend Top (but probably should)
and not t instanceof TypeBound
// XMLLocatable doesn't extend Top (but probably should)
and not t instanceof XMLLocatable
// Kotlin bug:
and not t.(Type).toString() = "string"
select t,
concat(t.getAPrimaryQlClass(), ","),
concat(t.getAQlClass(), ",")