proceed As
Proceeds with the original arguments and returns the result cast to T.
Example
@Around(Scaled::class)
fun doAround(pjp: ProceedingJoinPoint): Any? = pjp.proceedAs<Int>() * 2Content copied to clipboard
Throws
if the result cannot be cast to T.
Proceeds with substituted arguments, as ProceedingJoinPoint.proceed does, and returns the result cast to T.
Throws
if the result cannot be cast to T.
Proceeds with the original arguments and returns the result cast to T.
Throws
if the result cannot be cast to T.
Proceeds with substituted arguments, as SuspendProceedingJoinPoint.proceed does, and returns the result cast to T.
Throws
if the result cannot be cast to T.