Member predicate Type::RefType::getEnclosingType

Gets the type in which this reference type is enclosed, if any.

RefType getEnclosingType()