Bug 186772

Summary: [override method] Generated methods are arranged incorrectly
Product: [Eclipse Project] JDT Reporter: Sasha <sashakirill>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: Andrey.Utkin, martinae
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Sasha CLA 2007-05-14 08:12:43 EDT
Build ID:  I20061214-1445

Steps To Reproduce:
When I declare an instance of an interface or abstract class and use the feature "Add implemented methods", Eclipse generates the needed methods, but it arranges them incorrectly. The order is very strange, so it seems that they come from the hash table and thus their order was hashed out. However the order of the methods should be the same as in the declaring interface/abstract class.

More information:
Comment 1 Olivier Thomann CLA 2007-05-14 08:44:20 EDT
Moving to JDT/UI.
Comment 2 Martin Aeschlimann CLA 2007-05-21 04:17:16 EDT
*** Bug 188040 has been marked as a duplicate of this bug. ***
Comment 3 Martin Aeschlimann CLA 2008-05-08 09:10:58 EDT
Bug 188040 suggests a sorting order, but I'm not sure if that's less confusing. Would it be helpful to sort the methods by name?