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

Predicate Flow::clearsContent

Holds if captured variable v is cleared at node.

Import path

import codeql.dataflow.VariableCapture
predicate clearsContent(ClosureNode node, CapturedVariable v)