Files
codeql/java/ql/consistency-queries/getAPrimaryQlClass.ql
2022-08-22 14:08:31 +02: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(), ",")