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

11 lines
298 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
select t,
concat(t.getAPrimaryQlClass(), ",")