@Target(value=METHOD) @Retention(value=RUNTIME) public @interface OnBefore
Pointcut class that should be run just before each
method execution picked out by the Pointcut. Only one method in a
@Pointcut class may be annotated with @OnBefore.
An @OnBefore method can accept parameters annotated with any of the following:
@BindReceiver, @BindParameter,
@BindParameterArray or @BindMethodName.
An @OnBefore method may return void or a non-void type. If it
returns a non-void type, the value returned by the @OnBefore method is
called the traveler, and is available as input to subsequent
@OnReturn, @OnThrow and @OnAfter methods
by annotating a parameter on any of these methods with @BindTraveler.
Copyright © 2011–2018 Glowroot contributors. All rights reserved.