This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
040708, but not a new problem. Sometimes after making code edits, override/implementation annotations appear in positions that are no longer correct, often ridiculously. E.g.: the class R here implements a NetBeans interface. I wrote the class skeleton, then used Synchronize, which gave me the three required methods addChangeListener getRoots removeChangeListener After I cut getRoots and pasted it further up, here is what I see (the file is saved, so this is not so transient).
Created attachment 16182 [details] Screenshot
Note that triggering a reparse - e.g. press Space, Delete, Ctrl-S - does not fix the annotations. That is why I think it is a problem in the editor annotations layer, rather than in the Java model which is usually refreshed by this trick when it gets stuck.
BTW something like this happens pretty reproducibly when moving around methods generated by Synchronize; not a rare bug.
See also issue 39041 - it is the same problem, more or less
*** This issue has been marked as a duplicate of 45183 ***