Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-437

Code-complete fails override methods in anonymous classes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: java - Source
    • Labels:
      None
    • Environment:

      Description

      It looks like we need a similar fix asĀ NETBEANS-252 for anonymous classes.

      Repro steps:

      1. Given:
        Phaser test = new Phaser()
        {
          // Place caret here
        };
        
      2. Place caret inside the anonymous class body
      3. Invoke code-complete
      4. Select "onAdvance" method and hit ENTER
      5. No method is generated

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cowwoc Gili
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: