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

Predicate hasSubtype

Holds if reference type t is an immediate super-type of sub.

Import path

import java
predicate hasSubtype(RefType t, Type sub)