Member predicate Method::Method::getDeclaringType

Gets the type containing this declaration, if any.

Type getDeclaringType()