@Documented
@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface GuardMethod
This annotation can be only used with methods.
A guard method should be static
and stateless.
Method arguments can be of type Shadow
, StaticContext
,
GuardContext
. For an ArgumentProcessor
guard,
the ArgumentContext
type is also permitted.