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

Code completion fails when using chained method call and class variable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 12.0
    • 12.1
    • cnd - Code Completion
    • None

    Description

      This code fails to use code completion when using a class variable and chained method call.

      Path appVerName = Paths.get(appNewVer).getFileName();

       

      Paths.get() works with code completion but the getFileName() will fail.

       

       win 7, AdoptOpenJDK 15, 14, 11, 8.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mitm Robert Allen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: