proceed

abstract fun proceed(): Any?(source)

Proceeds to the intercepted function body with the original arguments.

Return

the return value of the original function, or null for Unit-returning functions.


abstract fun proceed(vararg args: Any?): Any?(source)

Proceeds to the intercepted function body with substituted arguments.

The provided args replace the original function's parameters in declaration order. For methods, the dispatch receiver is captured from the call site and cannot be substituted via this overload.

Return

the return value of the original function, or null for Unit-returning functions.

Parameters

args

replacement values for the target function's parameters.