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

Summary: API review of methods for finding package usages
Product: java Reporter: Tomas Zezula <tzezula>
Component: SourceAssignee: apireviews <apireviews>
Status: RESOLVED FIXED    
Severity: normal Keywords: API, API_REVIEW_FAST
Priority: P2    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 131944    
Attachments: Diff file

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