Community
Participate
Working Groups
Build ID: 20090619-0625 Steps To Reproduce: 1. Create a X class 2. Create an aspect containing : public X X.getMe() { return this; } 3. Look at the rough red mark that appears :) More information: Tested on Eclipse Galileo, AJDT version 2.0.0.e35x-20090624-1600 with AspectJ version 1.6.5.20090618034232. AspectJ does accept such code. It is used extensively in a number of libraries that employ chained invocations.
This is a problem with the reconciler. I'll have a look at this next week.
Fixed with regression tests. Will be available in next dev build of the 3.5 stream.