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

Member predicate BaseSsaVariable::getAFirstUse

Gets an access of the SSA source variable underlying this SSA variable that can be reached from this SSA variable without passing through any other uses, but potentially through phi nodes.

Subsequent uses can be found by following the steps defined by baseSsaAdjacentUseUse.

VarRead getAFirstUse()