Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328781 - ITD Fields on interfaces not available for searching, navigating, selection, etc
Summary: ITD Fields on interfaces not available for searching, navigating, selection, etc
Status: NEW
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: 2.1.2   Edit
Hardware: Macintosh All
: P3 normal (vote)
Target Milestone: 3.0.0   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-26 20:04 EDT by Andrew Eisenberg CLA
Modified: 2010-10-26 20:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.