Bug 507646 - Implementing interface with default should generate skeletons for default methods
Summary: Implementing interface with default should generate skeletons for default met...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-17 02:32 EST by Mickael Istria CLA
Modified: 2017-04-20 12:54 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2016-11-17 02:32:42 EST
Currently, it seems like implementing an interface with "default" methods doesn't write skeletons for those methods. However, the purpose of default is mostly to enable some backward-compatibility for evolving interfaces, it's oot meant to make the method "optional". So IMO, it would better user guidance to create the skeletons for the default methods as well, to encourage developers to implement them properly.
Comment 1 Dani Megert CLA 2017-04-20 12:54:03 EDT
I think we should at least offer an option to do so.