CodeQL library for Java/Kotlin
codeql/java-all 1.1.0 (changelog, source)
Search

Member predicate Guard::getBasicBlock

Gets the basic block containing this guard or the basic block that tests the applicability of this switch case – for a pattern case this is the case statement itself; for a non-pattern case this is the most recent pattern case or the top of the switch block if there is none.

BasicBlock getBasicBlock()