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

Predicate clearlyNotNullExpr

Gets an expression that is provably not null.

Import path

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