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

Bug 351603

Summary: The JavaGen Aliaser should be in the JavaGen plugin
Product: z_Archived Reporter: Matt Heitz <mheitz>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: greer, jeffdouglas, pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Matt Heitz CLA 2011-07-08 14:25:09 EDT
The Java generator uses the org.eclipse.edt.compiler.internal.core.utils.Aliaser class in plugin org.eclipse.edt.compiler.  The class should be moved into the Java gen plugin since it's specifically for generating Java.

It's currently used in a few places outside of the Java generator:
* A couple of validation classes in org.eclipse.edt.compiler, but those are relics from RBD and should be removed.
* The debugger uses it to find the name of generated classes.  Just update the debug code to point to the new location.
* The JavaScript generator uses it.  This makes no sense.  JS Gen should have its own Aliaser.
* ECK and Worthless Generator use it too.  Just update them to point to the new location.
Comment 1 Jeff Douglas CLA 2011-07-11 14:42:42 EDT
Moved the Aliaser class and renamed it to JavaAliaser. A separate JavaScriptAliaser class has been made and placed in the gen.javascript plugin
Comment 2 Matt Heitz CLA 2011-07-12 14:23:49 EDT
Verified.