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

Summary: "Find Usages" shows "Find Subclasses" for final classes
Product: java Reporter: kawkhins <kawkhins>
Component: RefactoringAssignee: issues@java <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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