Member predicate ThisType::getEnclosingType

Gets the type containing the this type.

TypeReference getEnclosingType()