Methods and Constructors |
call(Signature) |
every call to any method or constructor matching
Signature at the call site
|
execution(Signature) |
every execution of any method or constructor matching
Signature |
Fields |
get(Signature) |
every reference to any field matching Signature |
set(Signature) |
every assignment to any field matching
Signature. The assigned value can
be exposed with an args pointcut
|
Exception Handlers |
handler(TypePattern) |
every exception handler for any Throwable
type in TypePattern. The exception
value can be exposed with an args pointcut
|
Advice |
adviceexecution() |
every execution of any piece of advice
|
Initialization |
staticinitialization(TypePattern) |
every execution of a static initializer for any type in
TypePattern |
initialization(Signature) |
every initialization of an object when the first constructor
called in the type matches
Signature, encompassing the return
from the super constructor call to the return of the
first-called constructor
|
preinitialization(Signature) |
every pre-initialization of an object when the first
constructor called in the type matches
Signature, encompassing the entry
of the first-called constructor to the call to the super
constructor
|
Lexical |
within(TypePattern) |
every join point from code defined in a type in
TypePattern |
withincode(Signature) |
every join point from code defined in a method or constructor
matching Signature |