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

Bug 106033

Summary: [quick assist] 'Create method in super type' is not 5.0 aware
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Markus Keller CLA 2005-08-04 08:38:46 EDT
M20050727-1200

class Top<E> {
}
interface IInterface {
}
class Sub<S> extends Top<S> implements IInterface {
	void m(S s) { } // quick assist on 'm': Create in super type '..'
}

The quick assists insert methods 'void m(S s)', but the type variable S is not
defined in Top<E> nor in IInterface.
Comment 1 Markus Keller CLA 2005-08-04 10:48:42 EDT
BTW:

- in Top<E>, the correct signature would be void m(E s)
-> I guess this is a similar problem as already solved in the pull up refactoring

- in IInterface, there's no way to declare a method void m(* s) without
provoking a name clash in Sub<S>
-> don't show the quick assist in this case
Comment 2 Eclipse Genie CLA 2020-04-23 16:41:53 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.