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

Module AlertFiltering

Provides the restrictAlertsTo extensible predicate to restrict alerts to specific source locations, and the AlertFilteringImpl parameterized module to apply the filtering.

Import path

import codeql.util.AlertFiltering

Predicates

restrictAlertsTo

Restricts alerts to a specific location in specific files.

Modules

AlertFilteringImpl

Module for applying alert location filtering.