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

Predicate MakeImplCommon::Cached::store

Holds if data can flow from node1 to node2 via a direct assignment to c.

This includes reverse steps through reads when the result of the read has been stored into, in order to handle cases like x.f1.f2 = y.

Import path

import codeql.dataflow.internal.DataFlowImplCommon
predicate store(Node node1, Content c, Node node2, DataFlowType contentType, DataFlowType containerType)