Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351603 - The JavaGen Aliaser should be in the JavaGen plugin
Summary: The JavaGen Aliaser should be in the JavaGen plugin
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 14:25 EDT by Matt Heitz CLA
Modified: 2017-02-23 14:16 EST (History)
3 users (show)

See Also:


Attachments

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