Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328781

Summary: ITD Fields on interfaces not available for searching, navigating, selection, etc
Product: [Tools] AJDT Reporter: Andrew Eisenberg <andrew.eisenberg>
Component: CoreAssignee: AJDT-inbox <AJDT-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1.2   
Target Milestone: 3.0.0   
Hardware: Macintosh   
OS: All   
Whiteboard:

Description Andrew Eisenberg CLA 2010-10-26 20:04:07 EDT
When an ITD Field is applied to an interface, references to that field when the object is the interface type.  

Eg-

bc.. 
aspect Aspect {
  int I.x;
  
  void method(I i) {
    i.x++;
  }
}

interface I { }
bc..

Here, F3 on the x in i.x++; you should navigate to the declaration I.x;  However, you are not.

The reason is that ITDAwareSourceTypeInfo removes field ITDs from interfaces since when added they are always assumed to be public final static.