proceed With
Proceeds with the arguments named in replacements replaced and every other one kept.
Example
@Around(Normalized::class)
fun doAround(pjp: ProceedingJoinPoint): Any? =
pjp.proceedWith("name" to pjp.getArg<String>("name").trim())Content copied to clipboard
Throws
if a name is not a parameter of the intercepted function.
suspend fun SuspendProceedingJoinPoint.proceedWith(vararg replacements: Pair<String, Any?>): Any?(source)
Proceeds with the arguments named in replacements replaced and every other one kept.
Throws
if a name is not a parameter of the intercepted function.