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 267312 - Local Inner Class constructors are not visible for code complete
Summary: Local Inner Class constructors are not visible for code complete
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-26 11:16 UTC by Maksim Khramov
Modified: 2016-07-26 11:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2016-07-26 11:16:11 UTC
Product Version: NetBeans IDE Dev (Build 201607260002)
Java: 1.8.0_103; Java HotSpot(TM) 64-Bit Server VM 25.103-b01

Steps to reproduce:
Imagine we have method with inner class:

    public void testMethodWithLocalClass() {
        
        class MethodLocal {
            public MethodLocal(String param) {
                
            }
            public MethodLocal(String param, String other) {
                
            }
        }

    }

After inner class definition type:
MethodLocal ml = new MethodLocal
and press <ctrl>-<Space> to invoke code complete.

No MethodLocal class constrictors are shown

Similar nested class defined on class level shows me 2 available constructors