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

Predicate arrayInstanceOfGuarded

Holds if aa is an access to a value that is guarded by instanceof t.

Import path

import semmle.code.java.dataflow.TypeFlow
predicate arrayInstanceOfGuarded(ArrayAccess aa, RefType t)