Annotation Interface BindMethodName


@Target(PARAMETER) @Retention(RUNTIME) public @interface BindMethodName
Annotates a parameter to any @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.