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.
Summary: | [69cat] Mismatch between "Has Implementations" and "Go to Implementation" | ||
---|---|---|---|
Product: | java | Reporter: | matthies <matthies> |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | REOPENED --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
matthies
2010-04-27 17:08:54 UTC
The A11Y keyword is not correct, IMO: the action works OK if the caret is on the method/class name. As this action is expected to work also on class/method references, it cannot simply work inside whole header or whole method (like go to super implementation action does), because the header can contain class references. Ok, I won't argue over A11Y. But it's certainly about usability and consistency. The reason I find the current behavior unintuitive, I think, is that it's different from how hints seem to work. For example, an "Suppress warning - unchecked" hint can be executed from anywhere on the line where the hint is shown; the caret is not required to be the positioned on the respective expression. (An additional minor point is that the menu entry ought to be grayed out when the action is not applicable.) As for the argument about other class references, I don't quite buy it, because the "Has Implementations" badge is not shown for other class references within the class or method header. It's only shown for the class or method that is being defined by the header. For example if the header is "interface Example<T extends Foo> extends Bar", the fact that there are implementations of Foo or Bar doesn't cause a "Has Implementations" badge to be shown for them. This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss Still reproducable in current dev build. |