QDox
  1. QDox
  2. QDOX-126

Improved annotation support including types, fields and expressions

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.7
    • Component/s: Java API, Parser
    • Labels:
      None
    • Testcase included:
      yes
    • Patch Submitted:
      Yes
    • Number of attachments :
      2

      Description

      The attached patch improves annotation support to allow full access to annotations. It provides a full model for annotation expressions and a visitor class for it.

      For example,

      @Annotation( value1 =

      { @Sub("a"), @Sub("b") }

      , value2 = "2 * PI = " + (Math.PI * 2) )

      is parsed and all expression parts are accessible through the model.

      1. QDOX-126.patch
        112 kB
        Jochen Kuhnle
      2. QDOX-126b.patch
        122 kB
        Jochen Kuhnle

        Issue Links

          Activity

          Hide
          Jochen Kuhnle added a comment -

          This patch obsoletes QDOX-122 and QDOX-123

          Show
          Jochen Kuhnle added a comment - This patch obsoletes QDOX-122 and QDOX-123
          Jochen Kuhnle made changes -
          Field Original Value New Value
          Attachment QDOX-126.patch [ 28273 ]
          Hide
          Jochen Kuhnle added a comment -

          Updated patch, replaces previous patch file.

          Show
          Jochen Kuhnle added a comment - Updated patch, replaces previous patch file.
          Jochen Kuhnle made changes -
          Attachment QDOX-126b.patch [ 28722 ]
          Hide
          Jochen Kuhnle added a comment -

          Updated the patch:

          • Grammar rule names are now all lower case
          • Added cast expression
          • Operator precedence now through rule hierarchy, not through flex directives (%left etc).
          Show
          Jochen Kuhnle added a comment - Updated the patch: Grammar rule names are now all lower case Added cast expression Operator precedence now through rule hierarchy, not through flex directives (%left etc).
          Hide
          Paul Hammant added a comment -

          applied - thanks.

          Show
          Paul Hammant added a comment - applied - thanks.
          Paul Hammant made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Assignee Paul Hammant [ paul ]
          Hide
          Dennis Lundberg added a comment -

          Reopen to set correct version.

          Show
          Dennis Lundberg added a comment - Reopen to set correct version.
          Dennis Lundberg made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Dennis Lundberg made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Fix Version/s 1.7 [ 11160 ]
          Resolution Fixed [ 1 ]
          Dennis Lundberg made changes -
          Link This issue supercedes QDOX-122 [ QDOX-122 ]
          Dennis Lundberg made changes -
          Link This issue supercedes QDOX-123 [ QDOX-123 ]

            People

            • Assignee:
              Paul Hammant
              Reporter:
              Jochen Kuhnle
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: