Member predicate MethodAccess::getEnclosingCallable

Gets the immediately enclosing callable that contains this method access.

Callable getEnclosingCallable()