Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 19888

Summary: Autofix adds stubs implementing required abstract methods
Product: [Eclipse Project] JDT Reporter: Andreas Krüger <andreas.krueger>
Component: UIAssignee: Erich Gamma <erich_gamma>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Andreas Krüger CLA 2002-06-11 07:48:57 EDT
I have an interface In and a class Cl implementing In.

Now I add a method to In.  Consequently, Cl now has an error: It needs to
implement that method.

I suggest that "autofix" should know how to add a stub for that method to Cl.
After all, when I create a new class OtherCl from scratch that also implements
In, class creation also knows how to generate a stub for each of In's methods.
Comment 1 Erich Gamma CLA 2002-06-23 17:33:35 EDT
defer to after 2.0
Comment 2 Andreas Krüger CLA 2002-06-24 02:50:57 EDT
Workaround:

I found that functionality even in 2.0, it is available through the
"Outline" view for class Cl, Cl's context menue, "override methods".
Comment 3 Dirk Baeumer CLA 2002-07-18 11:39:15 EDT
Reopeing
Comment 4 Dirk Baeumer CLA 2002-07-18 11:39:49 EDT

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