Promotes the given method definition to an instance of
MethodWithNext, thereby recording the next
method in the nextMethod slot.
.methodWithNext(method, nextMethod, .cache = FALSE)an instance of MethodWithNext,
which has the next method in the nextMethod slot
the MethodDefinition object to promote
the MethodDefinition
object to record as the next method
whether to cache the promoted method definition object
(using methods::cacheMethod())