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

Bug 322028

Summary: [plan] [refactoring] Enable indexing and searching for Type references in aspectj-specific locations in aspects
Product: [Tools] AJDT Reporter: Andrew Eisenberg <andrew.eisenberg>
Component: CoreAssignee: AJDT-inbox <AJDT-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1.0   
Target Milestone: 2.1.1   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Andrew Eisenberg CLA 2010-08-06 15:39:00 EDT
Currently, indexing and searching do not work on type references in certain locations in aspects.  Eg-

aspect Foo {

  int Bar.x;
  declare parents : Bar extends Bar2;
  pointcut x() : within(Bar);

}

None of the references to Bar or Bar2 will be indexed or found when searching.  Changing this will be the first step to ensuring that rename type and move type are aspect-aware.  (Note that the AspectRenameParticipant works somewhat when renaming types, but because the matches it finds are text-based, there are possibilities of false positives.)
Comment 1 Andrew Eisenberg CLA 2010-08-19 15:57:58 EDT
Mostly working now with regression tests.
Comment 2 Andrew Eisenberg CLA 2010-08-27 19:42:38 EDT
Working now for ITDs, declare parents, and declare annotation.  This is all we will do for now.  Closing this bug.