@Target(value=PARAMETER) @Retention(value=RUNTIME) public @interface BindMethodName
Pointcut
advice method
(@IsEnabled
, @OnBefore
, @OnReturn
,
@OnThrow
, @OnAfter
).
When the advice method is called, the name of the method matched by the
@Pointcut
is bound to this parameter. This is useful when the
Pointcut.methodName()
uses wildcards or is a regular expression.
Parameters annotated with @BindMethodName
must be of type String
.
Copyright © 2011–2019 Glowroot contributors. All rights reserved.