Re: [abc] Open modules revised

From: Pavel Avgustinov <pavel.avgustinov@magdalen.oxford.ac.uk>
Date: Wed Mar 29 2006 - 17:59:19 BST

Neil Ongkingco wrote:

> Another is the fact that openmod is a pure source-level compile-time construct, primarily because pointcuts are pure compile time structures as well. They are dissimilar from method signatures in that once all the aspects have been woven, pointcuts disappear (only their residues remain). There might be some advantages if we could compile modules into something like java interfaces, with the pointcuts still recoverable. This does bring up the issue of how to represent pointcuts. Perhaps it would be similar to what ajc does to support separate compilation.

Actually, AspectJ5 introduced some form of reflection over pointcuts. I don't know exactly what they do with them, but I had vague memories of reading about it in conjunction with load-time weaving. Indeed, http://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/index.html is the reflection api doc, and http://www.aspectprogrammer.org/blogs/adrian/2005/12/lots_of_new_toy.html mentions, beyond all the PR talk, that it is indeed in there.

So, I guess when we do java5/aspectj5 support we'll have to think of something along those lines anyway.

- P
Received on Wed Mar 29 17:59:20 2006

This archive was generated by hypermail 2.1.8 : Tue Mar 06 2007 - 16:13:27 GMT