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 203806 - API review of methods for finding package usages
Summary: API review of methods for finding package usages
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: apireviews
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks: 131944
  Show dependency tree
 
Reported: 2011-10-17 08:54 UTC by Tomas Zezula
Modified: 2011-10-20 14:04 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Diff file (11.33 KB, patch)
2011-10-17 08:54 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2011-10-17 08:54:27 UTC
Created attachment 112113 [details]
Diff file

Added ClassIndex.getResourcesForPackage and ClassIndex.getElementsForPackage to allow to find package usages. Currently the client which needs to find usages of all types declared in the package has to list the package and query usages of each type individually which is inefficient.
Comment 1 Jan Lahoda 2011-10-20 08:57:28 UTC
Seems fine to me.
Comment 2 Tomas Zezula 2011-10-20 14:04:43 UTC
Fixed jet-main 6e6ba0910998