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

Member predicate RefType::getASourceSupertype

Gets the source declaration of a direct supertype of this type, excluding itself.

Note, that a generic type is the source declaration of a direct supertype of itself, namely the corresponding raw type, and this case is thus explicitly excluded. See also getSourceDeclaration().

RefType getASourceSupertype()