Community
Participate
Working Groups
example: src/p/Aspect.aj: package p; aspect Aspect { declare parents : Foo extends Bar; } src/p/Foo.java: package p; public class Foo { } src/p/Bar.java: package p; public class Bar { } If Aspect.aj is moved to another package, import statements should be added for Foo and Bar, but they are not. The solution here is a little tricky since the way that JDT calculates this is through an ImportRewrite, which is not something that we generally have access to.
It looks like I need to augment the ReferenceFinderUtil class so that references found inside of a type also include references inside of aspect-specific locations.
Hmmm...not going to be easy since we don't have bindings available in aspect-specific locations. Attaching a mylyn context so that I can look at this later.
Created attachment 177873 [details] mylyn/context/zip context