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

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

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

- --
Eric Bodden
Chair I2 for Programming Languages and Program Analysis
RWTH Aachen University 

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

iQA/AwUBQW7seMwiFCm7RlWCEQILjgCgot0KLrYF+7BJN/kCOC3t4qQTMdgAni4i
pTjVyZXnqUfizI0IeNgaaVus
=cyHP
-----END PGP SIGNATURE-----
  

Attachment: set_event_not_matched.gif
Description: GIF image

Attachment: set_event_matched.gif
Description: GIF image