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

make @Named* annotations a language feature

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 3.x
    • None
    • Static compilation
    • None

    Description

      As of Groovy 2.5 @Named* annotations are processed by AST transformation which disallows to apply the annotations to Java classes. Would be nice if this becomes a language feature similar to how @DelegatesTo and @ClosureParams annotation works which can be used in Java code and Groovy compiler still understands them.

      Attachments

        1. namedParams.patch
          3 kB
          Paul King

        Activity

          People

            Unassigned Unassigned
            musketyr Vladimír Oraný
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: