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 115811 - "Find Usages" shows "Find Subclasses" for final classes
Summary: "Find Usages" shows "Find Subclasses" for final classes
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-18 10:47 UTC by kawkhins
Modified: 2009-11-02 11:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kawkhins 2007-09-18 10:47:09 UTC
Find usages on doSomething will show the option "Find overriding methods", which is not coherent with the class definition
"final": no overriding method possible.

public final class TestOverriding
{

  public void doSomething()
  {
  }
}
Comment 1 Jan Becicka 2007-09-24 08:07:02 UTC
Checking in WhereUsedPanel.java;
/cvs/refactoring/java/src/org/netbeans/modules/refactoring/java/ui/WhereUsedPanel.java,v  <--  WhereUsedPanel.java
new revision: 1.12; previous revision: 1.11
done
Comment 2 kawkhins 2007-10-08 14:57:46 UTC
Asking "Find usage" on the class name itself (in the example given above) shows "Find all subtypes" and "Find direct
subtypes only", but the class is final, so no subtype.

It is working fine with the methods now.

Product Version: NetBeans IDE Dev (Build 200710050000)
Comment 3 Jan Becicka 2007-10-08 15:21:02 UTC
OK.
Comment 4 David Strupl 2009-03-31 15:54:28 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 5 Quality Engineering 2009-11-02 11:16:03 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX