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 - Added package level scope for ClasssIndex queries
Summary: Added package level scope for ClasssIndex queries
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks: 197194
  Show dependency tree
 
Reported: 2011-06-15 14:11 UTC by Tomas Zezula
Modified: 2011-06-25 14:07 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Patch file (21.02 KB, patch)
2011-06-15 14:11 UTC, Tomas Zezula
Details | Diff
Patch file with added unit tests (36.08 KB, patch)
2011-06-16 06:15 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-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