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

Member predicate InstanceAccess::isOwnInstanceAccess

Holds if this instance access gets the value of this. That is, it is not an enclosing instance. This never holds for accesses in lambda expressions as they cannot access their own instance directly.

predicate isOwnInstanceAccess()