Bug 249659 - [override method][1.5] Override/Implement Methods should allow to use return type from subclass
Summary: [override method][1.5] Override/Implement Methods should allow to use return ...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-03 19:08 EDT by Jon Barrilleaux CLA
Modified: 2008-10-06 05:12 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Barrilleaux CLA 2008-10-03 19:08:17 EDT
When using generics in interfaces I often have to override interface methods to achieve covariant return of the "this" interface type.  It would be great if the Source->Override/Implement Methods function would facilitate this by recognizing such interface methods and allowing for their override with the subclass return type in place of that of the super class.
Comment 1 Jerome Lanneluc CLA 2008-10-06 04:42:56 EDT
Moving to JDT/UI