diff options
Diffstat (limited to 'src/main/scala/kamon/instrumentation/AspectJPimps.scala')
-rw-r--r-- | src/main/scala/kamon/instrumentation/AspectJPimps.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/scala/kamon/instrumentation/AspectJPimps.scala b/src/main/scala/kamon/instrumentation/AspectJPimps.scala index 0663e801..84c20c52 100644 --- a/src/main/scala/kamon/instrumentation/AspectJPimps.scala +++ b/src/main/scala/kamon/instrumentation/AspectJPimps.scala @@ -16,4 +16,8 @@ case class RichProceedingJointPoint(pjp: ProceedingJoinPoint) { args.update(0, newUniqueArg) pjp.proceed(args) } + + def proceedWithTarget(args: AnyRef*) = { + pjp.proceed(args.toArray) + } } |