Bug 577901 - [content assist] Wrong hint when overriding a method in an interface with the same name
Summary: [content assist] Wrong hint when overriding a method in an interface with the...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.22   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-20 05:09 EST by Christoph Laeubrich CLA
Modified: 2023-12-11 19:01 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 Christoph Laeubrich CLA 2021-12-20 05:09:10 EST
Assume I have an 

interface A {

void someMethod();

}

And an (abstract) class B that also has a method someMethod() bunt *not* implementing A.

If I now have a class ImplA that extends B and implements A

ImplA extends B implements A {

  --> content assist here <---
}

I get a content assist saying 'Override method someMethod() in A', but actually it would rather be:

'Override method someMethod() in B implementing someMethod() in A'

or similar.
Comment 1 Eclipse Genie CLA 2023-12-11 19:01:02 EST
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.

If you have further information on the current state of the bug, please add it. 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.