[ https://issues.apache.org/jira/browse/GROOVY-8878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16688929#comment-16688929 ]
Paul King commented on GROOVY-8878: ----------------------------------- I guess I should have been a little more detailed. NamedParams and NamedParam are applicable as marker interfaces on a Map argument of a Java or Groovy method. See attached patch which shows your build passing. > make @Named* annotations a language feature > ------------------------------------------- > > Key: GROOVY-8878 > URL: https://issues.apache.org/jira/browse/GROOVY-8878 > Project: Groovy > Issue Type: Improvement > Components: Static compilation > Affects Versions: 3.x > Reporter: Vladimír Oraný > Priority: Major > Attachments: namedParams.patch > > > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)