CodeQL library for Java
codeql/java-all 0.4.4 (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)