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

Predicate negative

Holds if e can be negative and cannot be positive.

Import path

import semmle.code.java.dataflow.internal.rangeanalysis.SignAnalysisCommon
predicate negative(Expr e)