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 247045 - Static imports hint should ignore patterns like String.class
Summary: Static imports hint should ignore patterns like String.class
Status: RESOLVED DUPLICATE of bug 250756
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on: 89258
Blocks:
  Show dependency tree
 
Reported: 2014-09-11 18:59 UTC by markiewb
Modified: 2015-04-15 13:38 UTC (History)
1 user (show)

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 markiewb 2014-09-11 18:59:22 UTC
Follow up to https://netbeans.org/bugzilla/show_bug.cgi?id=89258#c59

```
Can this be modified to exclude references to the static "class" variable?  I just tried to run this, and i'm using the class objects fairly throughly, and this check suggested import static java.lang.String.class AND import static java.lang.Double.class.
```

EXPECTED: Static imports hint should ignore patterns like String.class
Comment 1 Svata Dedic 2015-04-15 13:38:37 UTC

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