QDox
  1. QDox
  2. QDOX-225

JavaSource.getImports() returns static imports as standard imports

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.1, 2.0
    • Component/s: Parser
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The real problem is actually that the parser does nothing with static

      // Import statement
      import: IMPORT fullidentifier SEMI { builder.addImport($2); } 
            | IMPORT STATIC fullidentifier SEMI { builder.addImport($3); };
      

      Here the static gets lost and there's no way to recover it afterwards.

        Activity

        Hide
        Robert Scholte added a comment -

        Fixed in rev. 1063

        Show
        Robert Scholte added a comment - Fixed in rev. 1063
        Robert Scholte made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Robert Scholte made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Robert Scholte added a comment - - edited

        Fixed in rev. 1526 for QDox-1.12.1

        Show
        Robert Scholte added a comment - - edited Fixed in rev. 1526 for QDox-1.12.1
        Robert Scholte made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Robert Scholte made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 1.12.1 [ 18944 ]
        Resolution Fixed [ 1 ]
        Robert Scholte made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Robert Scholte
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: