Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] adviceexecution and/or astract pointcut definitions (2)

 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Forgot the third graphic...

Eric Bodden wrote:
> Today I had some trouble with some pointcut definitions, which I
> could not clarify using the online help: 
> 
> Firstly I apparently mistake the definition of the
> adviceexecution() pointcut: 
> If you have a look at the graphic "set_event_not_matched.gif", you
> see that I set a field in one of the pieces of advice. In another
> piece of advice I want to match on that set event and in order to
> do so employ the adviceexecution() pointcut. Actually I thought
> that
> this would work since the set event is taking place inside a piece
> of advice. In the graphic "set_event_matched.gif" I inverted to
> !adviceexecution() and here you can see that now the pointcut does
> match. That's confusing to me. Why is that?      
> 
> Secondly I noticed that if I change a certain pointcut to abstract
> (see "set_event_abstract_not_matc.gif") it also does not match any
> more. This might be a compiler/AJDT limitation, however I am not
> sure...   
> 
> Some explanation would be great.
> 
> Cheers,
> Eric


-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3

iQA/AwUBQW7sscwiFCm7RlWCEQK39QCfQJpRrJ8sMmEXZECF5UOTpH+yN1wAn05Y
xB9Ja1/NmCawkuBXU+XvMVFn
=RnR7
-----END PGP SIGNATURE-----
 

Attachment: set_event_abstract_not_matc.gif
Description: GIF image


Back to the top