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 179529 - find usages of constructors or class instantiations
Summary: find usages of constructors or class instantiations
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: -S1S-
Hardware: PC Linux
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-15 02:08 UTC by swachter1
Modified: 2010-01-15 02:08 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description swachter1 2010-01-15 02:08:17 UTC
At the moment (NB 6.8)

1. The "Find Usages" dialog of a Java constructor offers the following:

- "Find Usages"
- "Find Overridding Methods"

Sometimes it would be helpful to have a third option:

- "Find Usages and Usages of Overriding Methods"

This would find all places were the selected constructor is called directly or indirectly

* in subclasses by super(...) calls or this(...) calls
* by the new keyword

2. The "Find Usages" dialog of a Java class offers the following:

- "Find Usages"
- "Find All Subtypes"
- "Find Direct Subtypes Only"

Sometimes it would be helpful to have the following option:

- "Find all instantiations"

This would find all places where the selected class or any of its subclasses is instantiated.