CodeQL library for Java
Search

Member predicate RefType::hasSupertype

Holds if t is an immediate supertype of this type.

predicate hasSupertype(RefType t)