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

Predicate alwaysNullDeref

A dereference of a variable that is always null.

Import path

import semmle.code.java.dataflow.Nullness
predicate alwaysNullDeref(SsaSourceVariable v, VarAccess va)