Member predicate MemberDeclaration::getDeclaringType

Gets the class or interface this member belongs to.

ClassOrInterface getDeclaringType()