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

Member predicate Variable::getAnAssignedValue

Gets an expression assigned to this variable, either appearing on the right-hand side of an assignment or bound to it via a binding instanceof expression or switch block.

Expr getAnAssignedValue()