diff options
author | Ivan Topolnak <ivantopo@gmail.com> | 2013-06-24 19:16:22 -0300 |
---|---|---|
committer | Ivan Topolnak <ivantopo@gmail.com> | 2013-06-24 19:16:22 -0300 |
commit | d1e22b3f446c89413c67421f19ab5215ebdfcd43 (patch) | |
tree | a3de65518512f1c109d912899893196272748690 /src/main/scala/kamon/instrumentation/AspectJPimps.scala | |
parent | 062894d8429088b154db9cc25c42337956c25a4e (diff) | |
download | Kamon-d1e22b3f446c89413c67421f19ab5215ebdfcd43.tar.gz Kamon-d1e22b3f446c89413c67421f19ab5215ebdfcd43.tar.bz2 Kamon-d1e22b3f446c89413c67421f19ab5215ebdfcd43.zip |
doing some testing on alternatives ways to weave the classes
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) + } } |