Bug 203806 - API review of methods for finding package usages
API review of methods for finding package usages
Status: RESOLVED FIXED
Product: java
Classification: Unclassified
Component: Source
7.1
All All
: P2 (vote)
: 7.1
Assigned To: apireviews
issues@java
: API, API_REVIEW_FAST
Depends on:
Blocks: 131944
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo