Member predicate Declaration::getDeclaringType

Gets the type containing this declaration, if any.

Type getDeclaringType()