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.
A dollar-sign ($) inside the name of a Java class in a different package is not recognized by an import hint. How to reproduce this issue: Create a Java Application Project. Create a new package "x". Create a class named "$Test". Create a new package "x.y". Create a new class "Test" which extends $Test. package x.y; public class Test extends $Test { A red curly line appears under $Test, with tooltip "Cannot find symbol symbol: class $Test". Then click on the lightbulb in the margin. Only the option "Create class "$Test" in package x.y" is present. Problem: There is not an option "Add import for x.$Test". Work around: manually add "import x.$Test;" to the Java source. Product Version: NetBeans IDE 6.7 (Build 200906241340) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Windows Vista version 6.0 running on x86; Cp1252; nl_NL (nb) Userdir: C:\Users\[my username]\.netbeans\6.7 Thank you.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss