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

Eric Milles updated GROOVY-10951:
---------------------------------
    Labels: annotations  (was: )

> Type annotations not decoded by ASM decompiler ClassNode resolver
> -----------------------------------------------------------------
>
>                 Key: GROOVY-10951
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10951
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Eric Milles
>            Priority: Major
>              Labels: annotations
>
> While fixing GROOVY-10937, I noticed that the ASM class parser (class file to 
> {{ClassNode}} translation) does not add type annotations to the Groovy model 
> in most cases.  Only {{record}} components appear to be handled so far.
> I added one test case that triggers the decompiler and has type annotations 
> in many of the possible locations.  However, at the moment, the test case 
> just ensures that shared instances of {{Object}} and {{void}} are not 
> modified.  Further changes are required to process the type annotations and 
> add them to the proper {{ClassNode}} instances.
> https://github.com/apache/groovy/blob/99af5dfacce807e7ba95fa2dff5e505cd489f610/src/test/org/codehaus/groovy/ast/decompiled/AsmDecompilerTest.groovy#L368



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

Reply via email to