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.

Bug 246924 - Navigate -> Go to Implementation should not show declaring interface name
Summary: Navigate -> Go to Implementation should not show declaring interface name
Status: REOPENED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-08 15:31 UTC by milanka
Modified: 2015-11-26 09:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A list shown after Ctrl-Alt-Clicking a method which has one implementation (3.70 KB, image/png)
2014-09-08 15:31 UTC, milanka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description milanka 2014-09-08 15:31:35 UTC
Created attachment 149066 [details]
A list shown after Ctrl-Alt-Clicking a method which has one implementation

When choosing Go to Implementation for a method which is declared in an interface and implemented in a class, a non-modal list opens with header "Implemented/Overriden in". This list contains the name of interface too. This happens when Ctrl-Alt-Clicking the method, too.

When the cursor is over a method declaration in an interface and Go to Implementation is chosen, the interface name is again shown in the list.

This defect did not exist in 8.0.

Product Version: NetBeans IDE Dev (Build 201409080001)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Dusan Balek 2014-09-23 06:24:41 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/af53092a3f96
Comment 2 Quality Engineering 2014-09-25 03:14:58 UTC
Integrated into 'main-silver', will be available in build *201409250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/af53092a3f96
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #246924: Navigate -> Go to Implementation should not show declaring interface name - fixed.
Comment 3 milanka 2014-12-19 13:33:13 UTC
Not working in NetBeans IDE 8.0.2 (Build 201411181905). It's not merged?
Comment 4 markiewb 2015-02-21 13:57:34 UTC
Verified in 8.1 dev build
NetBeans IDE Dev (Build 201502210001)
Comment 5 milanka 2015-11-26 09:21:02 UTC
Using Go to Implementation in an interface is fixed, but using it in a calling class still shows the interface name.

Product Version: NetBeans IDE 8.1 (Build 201510222201)
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b18
Comment 6 iikku 2015-11-26 09:23:39 UTC
When navigating from the interface to implementation, the list does not include the interface itself, which is correct. However, when the "go to implementation" list is opened from a class that uses the interface, the interface declaration is listed with implementations in the "implemented/overridden in" list, which is incorrect.