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

Class DataFlow::ContentSet

An entity that represents a set of Contents.

The set may be interpreted differently depending on whether it is stored into (getAStoreContent) or read from (getAReadContent).

Import path

import semmle.code.java.dataflow.DataFlow

Predicates

getAReadContent

Gets a content that may be read from when reading from this set.

getAStoreContent

Gets a content that may be stored into when storing into this set.

hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

toString

Gets a textual representation of this content set.