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

REGRESSION: Groovy does not find alias occurrences

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • groovy - Editor
    • None

    Description

      Formerly, if a symbol was introduced by a static import, i.e.

      import static Calendar.getInstance as now
      

      References like

      now().time
      

      were find, as now() was basically unresolved (AST contained this.now().time()). With some fixes to resolve ClassNodes, the now() symbols is now better defined, so the AST only contains nodes that actually do the static method call plus time() call.

      The occurrences finder does not find this now() any more.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sdedic Svatopluk Dedic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: