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 164490 - Static import hint from full classpath
Summary: Static import hint from full classpath
Status: RESOLVED DUPLICATE of bug 71249
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Max Sauer
URL:
Keywords:
Depends on: 89258
Blocks:
  Show dependency tree
 
Reported: 2009-05-05 14:08 UTC by fommil
Modified: 2009-12-04 05:35 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 fommil 2009-05-05 14:08:17 UTC
(copied from gsporar in issue 89258)

If I type this in:

    int val = abs(55);

I get an error and an editor hint that offers to create a method called abs().

I would like to also get an editor hint that offers to do a static import of java.lang.Math.abs (and perhaps another hint for a static import of java.lang.Math.*).
Comment 1 fommil 2009-05-05 14:21:52 UTC
Note that this is related to issue 164487. Instead of scanning the entire classpath, the user provides the list of classes to scan. There could be a lot of noise 
without user preference.
Comment 2 Jan Lahoda 2009-12-04 05:35:10 UTC
The same as issue #71249, IMO.

*** This bug has been marked as a duplicate of bug 71249 ***