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 182085

Summary: Hint for adding variable to outer class
Product: java Reporter: Miloslav Metelka <mmetelka>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: -S1S-   
Hardware: PC   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:

Description Miloslav Metelka 2010-03-16 08:35:37 UTC
When typing in

class A {

  private final class Inner {
    void m() {
      var = true;|
    }
}

there could be a hint for adding the not-yet existing variable not only to the inner class but also to outer class.