Member predicate Type::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()