Bug 264537

Summary: [generate constructor] Allow to use/call existing constructors if available
Product: [Eclipse Project] JDT Reporter: Waldo auf der Springe <Waldo-auf-der.Springe>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, Olivier_Thomann, steffen.pingel
Version: 3.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Waldo auf der Springe CLA 2009-02-11 10:57:16 EST
Note: this bug is not about Eclipse, not Mylyn, but I think that because I choose Mylyn as the product with which to specify the bug it infers the bug peratins to Mylyn?

The constructor generated with "Generate Constructor using fields..." always includes super();
In this way the default constructor in the same class is omitted. If such a constructor exists, the generated code should include "this();" rather then "super();"
Comment 1 Steffen Pingel CLA 2009-02-11 15:34:01 EST
Moving to JDT which contributes the code generation features.
Comment 2 Olivier Thomann CLA 2009-02-11 15:38:23 EST
Move to JDT/UI