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

9 lines
138 B
Plaintext

import java
from UnaryExpr ue
where
not exists(ue.getExpr())
or
exists(Expr e, int i | e.isNthChildOf(ue, i) and i != 0)
select ue