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

Predicate clearlyNotNullExpr

Gets an expression that is provably not null.

Import path

import semmle.code.java.dataflow.NullGuards
Expr clearlyNotNullExpr()