codeql/java-all
7.2.0
For other CodeQL resources, including tutorials and examples, see the CodeQL documentation
.
Holds if a cast from fromtyp to totyp can be ignored for the purpose of range analysis.
fromtyp
totyp
import semmle.code.java.dataflow.RangeAnalysis
predicate safeCast(Type fromtyp, Type totyp)