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

Class DataFlow::CollectionContent

A reference through the contents of some collection-like container.

Import path

import semmle.code.java.dataflow.DataFlow

Direct supertypes

Indirect supertypes

Predicates

getType

Gets the type of the contained data for the purpose of type pruning.

toString

Gets a textual representation of this element.

Inherited predicates

hasLocationInfo

Holds if this element is at the specified location. The location spans column sc of line sl to column ec of line el in file path. For more information, see Locations.

from Content