Member predicate Type::getDeclaringType

Gets the containing type of this type, if any.

Type getDeclaringType()