Bug 162876 - [quick fix] Quick fix to add super method for @Override: issues with interfaces
Summary: [quick fix] Quick fix to add super method for @Override: issues with interfaces
Status: RESOLVED DUPLICATE of bug 163192
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-31 06:47 EST by Markus Keller CLA
Modified: 2006-11-02 06:57 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2006-10-31 06:47:47 EST
I20061030-1704

class C {
}
interface I {
}
public class Over extends C implements I {
	@Override
	void m() {}
}

In 1.5 mode, quick fix "Create 'm()' in super type 'I'" is wrong.
In 1.6 mode, no quick fix is shown at all. Expected all 3:
- Create 'm()' in super type 'C'
- Create 'm()' in super type 'I' (will yield visibility error, but that's OK)
- Remove @Override

See bug 141931.
Comment 1 Markus Keller CLA 2006-11-02 06:57:05 EST

*** This bug has been marked as a duplicate of 163192 ***