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 199432

Summary: Added package level scope for ClasssIndex queries
Product: java Reporter: Tomas Zezula <tzezula>
Component: SourceAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal Keywords: API, API_REVIEW_FAST
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 197194    
Attachments: Patch file
Patch file with added unit tests

Description Tomas Zezula 2011-06-15 14:11:18 UTC
Created attachment 108909 [details]
Patch file

Improvements in Find usages scopes require a new ClasssIndex scope on a level of package.
The API created a super interface for SearchScope allowing to refine the scope on package level and a factory method for creating package level search scopes.
Comment 1 Tomas Zezula 2011-06-16 06:15:49 UTC
Created attachment 108920 [details]
Patch file with added unit tests
Comment 2 Tomas Zezula 2011-06-21 16:55:10 UTC
I will integrate it tomorrow.
Comment 3 Jan Lahoda 2011-06-22 14:56:36 UTC
Seems fine to me. A nitpick: I would recommend to use 0.82 instead of 0.82.0.
Comment 4 Tomas Zezula 2011-06-22 15:25:26 UTC
Fixed jet-main d9fb5776d4c7
Comment 5 Quality Engineering 2011-06-25 14:07:21 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/d9fb5776d4c7
User: Tomas Zezula <tzezula@netbeans.org>
Log: #199432:Added package level scope for ClasssIndex queries