Title: Frustrated NewbieI’ve been at this for 4 days now. I had some good luck with a few initial cases where I was able to clean up some code and verify through testing it worked like a charm. I made a couple minor tweaks to those which broke them giving the technology an unreliable feel. I’m willing to write that off as inexperience.
So I continued on and tried to implement some simple enforcement policies that I read in the book from the Eclipse Series (trying to support development by buying products and all). It isn’t working at all and my frustration level trying to implement even simple enforcement policies is off the scale.
Yesterday, I posted the following to the AspectJ newsgroup without a response yet. I continued researching on my own, even using the latest milestone AspectJ release for Eclipse 3.3M5. Still no luck.
I'm new to AspectJ so please no flames. I'm using AJDT for Eclipse 3.2.1
and have been following the details from the "eclipse AspectJ" book.
I'm trying to enforce simple errors such as "It is an error to implement any
listener interface unless you also implement interface Foo." To do this, I
want to try: