Community
Participate
Working Groups
From an email from Jonathan Amir: 2) In section 1, heading "Development Aspects", sub heading "Contract Enforement", there is an example that declares a static aspect. To the best of my knowledge, the keyword "static", when used before an aspect declaration, declares the aspect to be a subclass of another class (similarly to the static class declarations in Java). However, the problem that I want to point out is that this is not mentioned anyway in the documentations (or at least I couldn't find it), and this issue puzzled me for a while.
Yowza! It turns out this was a holdover from AspectJ 0.8 when we had the notion of a top-level static aspect. Needless to say, this is gone now. I simply deleted the static modifier from the code in gettingstarted and shook my head in shame for not doing so two years ago. As a bonus, I've lightly clarified the semantics guide with respect to static aspects.
Fix released as part of AspectJ 1.2.1