Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4833

@Field AST Transformation looses annotations

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.1, 1.9-beta-1
    • Component/s: None
    • Labels:
      None

      Description

      For reference : http://groovy.329449.n5.nabble.com/Revisiting-guice-injection-with-Groovy-1-8-td4387777.html

      The @Field AST transformation creates a FieldNode but forgets to put the other possible annotations on the generated field. For example, in the following code :

      @Awesome @Field def test
      

      The @Awesome annotation is lost.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                melix Cédric Champeau
                Reporter:
                melix Cédric Champeau
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: