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

Predicate positive

Holds if e can be positive and cannot be negative.

Import path

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