[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[ajdt-dev] AspectJ cflowbelow
|
Vinodh
As I
understand it, the IDE shows static pointcuts, where dynamic pointcuts, like
cflowbelow, may apply, but not necessarily where they will
apply.
So it
shows that the call to executeRules may be captured. But when it gets to that
point in the execution of the program, it looks for the dynamic rule (am I
within the control flow of a call to executeRules?), which fails, so you do not
get a match.
As
written, your pointcut will only capture calls to executeRules nested within a
call to executeRules. If you meant to exclude nested calls, then Andy's succinct
!cflowbelow should capture only the top level calls.
The
other trails to pursue include the distinction between call and execute, and
what code is being woven. You have used a call, which suggests you have control
over (ie can weave into) your code but not the code being called. If that is the
case, then if that code contains executeRules, the pointcut is not being woven
into that call.
Hope
this helps...
Elizabeth
CONFIDENTIAL AND PRIVILEGED INFORMATION NOTICE
This e-mail, and any attachments, may contain information that
is confidential, subject to copyright, or exempt from disclosure.
Any unauthorized review, disclosure, retransmission,
dissemination or other use of or reliance on this information
may be unlawful and is strictly prohibited.
AVIS D'INFORMATION CONFIDENTIELLE ET PRIVILÉGIÉE
Le présent courriel, et toute pièce jointe, peut contenir de
l'information qui est confidentielle, régie par les droits
d'auteur, ou interdite de divulgation. Tout examen,
divulgation, retransmission, diffusion ou autres utilisations
non autorisées de l'information ou dépendance non autorisée
envers celle-ci peut être illégale et est strictement interdite. |