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

Predicate getFirstAstNodeOrSynth

Gets the first AST node in the basic block bb, if any. Otherwise, gets the first synthetic node.

Import path

import utils.test.BasicBlock
ControlFlowNode getFirstAstNodeOrSynth(BasicBlock bb)