[ 
https://issues.apache.org/jira/browse/GROOVY-11184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Milles updated GROOVY-11184:
---------------------------------
    Language: groovy

> JSR308: improve support for explicit-this type annotations
> ----------------------------------------------------------
>
>                 Key: GROOVY-11184
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11184
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Major
>              Labels: annotations
>
> Consider the following"
> {code:groovy}
> @Retention(RUNTIME) @Target(TYPE_USE) @interface TypeAnno0 { String value() }
> @Retention(RUNTIME) @Target(TYPE_USE) @interface TypeAnno1 { String value() }
> class Foo {
>   def bar(@TypeAnno0(value="this") Foo this, @TypeAnno1(value="that") that) {
>   }
> }
> {code}
> This parses properly and populates the AST with a Parameter instance named 
> "this".  However it does not write out the necessary bytecode for the 
> receiver annotaiton.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to