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

Bug 323869

Summary: [refactoring] [plan] rename package does not rename fully qualified references in aspect-specific locations
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-27 16:47:25 EDT
Eg-

package a;
aspect A {
  declare parents : b.B extends b.C;
}

package b;
public class B { }

package b;
public class C { }

Now rename package 'b' to 'c'.  The qualified names in aspect A should be changed, but they are not.
Comment 1 Andrew Eisenberg CLA 2010-08-27 19:38:19 EDT
Working now for qualified target type names of ITDs.
Comment 2 Andrew Eisenberg CLA 2010-08-30 19:11:36 EDT
Working for declare annotations and declare parents, but only when there are simple type patterns.

Still need to write some tests for this.
Comment 3 Andrew Eisenberg CLA 2010-08-31 17:55:41 EDT
Fixed with regression tests