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

Predicate Flow::ConsistencyChecks::uniqueLocation

Holds if relevant expression e does not have exactly one location, as described by msg.

Import path

import codeql.dataflow.VariableCapture
predicate uniqueLocation(RelevantExpr e, string msg)