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

Member predicate VarAccess::isVarWrite

Holds if this variable access is a write access.

That means the access is the destination of an assignment.

predicate isVarWrite()