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 96008 - Use simple name for inner classes
Summary: Use simple name for inner classes
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
Depends on:
Blocks: 152194
  Show dependency tree
Reported: 2007-02-20 10:49 UTC by Jiri Prox
Modified: 2016-07-07 07:29 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2007-02-20 10:49:26 UTC
NetBeans IDE Dev (Build 200702191730)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Linux version 2.6.5-1.358 running on i386
en_US (nb); UTF-8

The smart CC uses long name (TopLevelClass.InnerClass) when generating
constustor with generic type. 

1) have a code:
public class Main {    
    private class Item {        
    public static void main(String[] args) {
       List<Item> l = new ArrayLis|
2) at position marked by | call smart CC

-> the line is completed to ArrayList<Main.Item> but ArrayList<Item> is enough
Comment 1 Martin Balin 2016-07-07 07:29:37 UTC
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