Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323869 - [refactoring] [plan] rename package does not rename fully qualified references in aspect-specific locations
Summary: [refactoring] [plan] rename package does not rename fully qualified reference...
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: 2.1.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 2.1.1   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 16:47 EDT by Andrew Eisenberg CLA
Modified: 2010-08-31 17:55 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-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