Project: JDT
Bug 377184 [content assist] Override method proposal does not format in subclass with type parameter
Reported: 2012-04-19 09:30:42 | Status: resolved fixed

Override method proposal does not format the resulting method in cases where a subclass has a type parameter and forwards it to the superclass. Example: package bug; class Super<T> { void foo(T t) { } } public class Impl<T2 extends Number> extends Super<T2> { foo } Result: void foo(T2 t) {}; Problem is a bad subsignature implementation in Bindings#isEqualMethod(IMethodBinding, String, String[])

Files changed in fix:
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/contentassist/CodeCompletionTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java