Table of Contents
| Methods and Constructors | |
call(
|
every call to any method or constructor matching
Signature at the call site
|
execution(
|
every execution of any method or constructor matching
Signature
|
| Fields | |
get(
|
every reference to any field matching Signature
|
set(
|
every assignment to any field matching
Signature. The assigned value can
be exposed with an args pointcut
|
| Exception Handlers | |
handler(
|
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(
|
every execution of a static initializer for any type in
TypePattern
|
initialization(
|
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(
|
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(
|
every join point from code defined in a type in
TypePattern
|
withincode(
|
every join point from code defined in a method or constructor
matching Signature
|
| Instanceof checks and context exposure | |
this(
|
every join point when the currently executing object is an
instance of Type or
Id's type
|
target(
|
every join point when the target executing object is an
instance of Type or
Id's type
|
args(
|
every join point when the arguments are instances of
Types or the types of the
Ids
|
| Control Flow | |
cflow(
|
every join point in the control flow of each join point
P picked out by
Pointcut, including
P itself
|
cflowbelow(
|
every join point below the control flow of each join point
P picked out by
Pointcut; does not include
P itself
|
| Conditional | |
if(
|
every join point when the boolean
Expression is
true
|
| Combination | |
!
|
every join point not picked out by
Pointcut
|
|
each join point picked out by both
Pointcut0 and
Pointcut1
|
|
each join point picked out by either
Pointcut0 or
Pointcut1
|
(
|
each join point picked out by
Pointcut
|