Files
codeql/java/ql/consistency-queries/getAPrimaryQlClass.ql
Ian Lynagh 2d43e7b2d1 Kotlin: Speed up getAPrimaryQlClass
It now gives less useful info, but can be manually investigated if it
fails.
2022-05-10 19:51:00 +01:00

13 lines
356 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(), ",")