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 168527 - "Fix Imports" should take into account if the type is an annotation, interface, class etc.
Summary: "Fix Imports" should take into account if the type is an annotation, interfac...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 09:11 UTC by rcasha
Modified: 2013-09-02 14:23 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rcasha 2009-07-14 09:11:25 UTC
The code completion features (Ctrl-Space) will correctly determine whether the type being checked is an annotation etc,
and present identifiers of that type in the list. Eg, if I have "@Type" with Hibernate libraries, it will correctly
propose "org.hibernate.annotations.Type".

By comparison, the Fix Imports features does not seem to distinguish between the types, and for "@Type" it will propose
several classes and interfaces with that name.