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

Predicate clearsContent

Holds if values stored inside content c are cleared at node n. For example, any value stored inside f is cleared at the pre-update node associated with x in x.f = newValue.

Import path

import semmle.code.java.dataflow.internal.DataFlowPrivate
predicate clearsContent(Node n, Content c)