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.
Summary: | Review of a supporting class providing frequencies of type or package usages in the source root | ||
---|---|---|---|
Product: | java | Reporter: | Tomas Zezula <tzezula> |
Component: | Source | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dbalek |
Priority: | P3 | Keywords: | API, API_REVIEW_FAST |
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Attachments: |
Diff file
Diff file, fixed issue number |
Created attachment 116232 [details]
Diff file, fixed issue number
Test will be added in parallel to api review. The attached patch looks OK. Fixed jet-main 899ba5c41d77 Integrated into 'main-golden', will be available in build *201203150400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/899ba5c41d77 User: Tomas Zezula <tzezula@netbeans.org> Log: #209038:Review of a supporting class providing frequencies of type or package usages in the source root |
Created attachment 116231 [details] Diff file Use case: Editor features like code completion should order classes with the same simple name according to frequencies they are used in the project. For example in the JavaFX project the JavaFX Button should be preferred to AWT Button. To implement this feature the java/editor needs a support from the infrastructure to obtain estimates of type (package) references frequencies. The ReferencesCount class was added not support package. This class provides number of classes that are using given type (package).