Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 96008 - Use simple name for inner classes
Use simple name for inner classes
Product: editor
Classification: Unclassified
Component: Completion & Templates
All All
: P3 (vote)
Assigned To: Dusan Balek
Depends on:
Blocks: 152194
  Show dependency treegraph
Reported: 2007-02-20 10:49 UTC by Jiri Prox
Modified: 2016-07-07 07:29 UTC (History)
0 users

See Also:


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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo