CodeQL library for Java
codeql/java-all 0.5.1 (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)