Files
codeql/java/ql/test/library-tests/guards/guardslogic.ql
2018-10-11 11:31:37 +02:00

10 lines
250 B
Plaintext

import java
import semmle.code.java.controlflow.Guards
from Guard g, BasicBlock bb, boolean branch
where
g.controls(bb, branch) and
not g instanceof ParExpr and
g.getEnclosingCallable().getDeclaringType().hasName("Logic")
select g, branch, bb