Community
Participate
Working Groups
With <Introduction Example> from AJDT Tools for Eclipse: Adding: public aspect A { pointcut getter(): target(Point) && call(public * get*(..)); after(): getter() { System.out.println("Get"); } } Then in: public String toString(){ return "(" + getX() + ", " + getY() + ")[" + getTheta() + " : " + getRho() + "]"; } Only getX() and getTheta() would be detected as advised, as first methods in lines.
interesting. wonder if this is still the case - is the model clever enough now to distinguish the multiple locations?
works fine now, I can see all the separate advises lines in the xref view and gutter annotation context menus.