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.
NB does a great job of automatically creating an anonymouse class once somebody write something like "new Comparator" and presses Ctrl+Space. But is does not support generics. In the following case: List<Map.Entry<FileObject, Double>> list = new ArrayList<Map.Entry<FileObject, Double>>(); Collections.sort(list, new Comparator<-------------Ctrl+Space here it generates a Comparator for Objects instead of a Comparator for Map.Entry<FileObject, Double>'s It would be nice if it would support this too.