Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 203806 - API review of methods for finding package usages
API review of methods for finding package usages
Product: java
Classification: Unclassified
Component: Source
All All
: P2 (vote)
: 7.1
Assigned To: apireviews
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

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. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo