Project: JDT
Bug 41514 Stubs for implemented methods are created when the supertype's method implementation declares a runtime exception [code manipulation]
Reported: 2003-08-13 16:52:42 | Status: resolved fixed

I have a class hierarchy like this: public interface MyInterface { void method(); } public class Implementor implements MyInterface { // note the exception declaration public void method() throws RuntimeException { ... } } When I create a new class which extends Implementor with the wizard and check the "Inherited abstract methods" checkbox, i get a method stub for method(), although it is already implemented in the superclass: class ExtendedClass extends Implementor { public void method() throws RuntimeException { // TODO Auto-generated method stub return super.trickMethod(); } }

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java