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

Predicate Impl::isExcluded

Holds if the regular expression should not be considered.

We make the pragmatic performance optimization to ignore regular expressions in files that do not belong to the project code (such as installed dependencies).

Import path

import semmle.code.java.regex.RegexTreeView
predicate isExcluded(RegExpParent parent)