Member predicate Member::Member::getEnclosingCallable

Gets the immediately enclosing callable, if this member is declared in an anonymous or local class.

Callable getEnclosingCallable()