[ 
https://issues.apache.org/jira/browse/GROOVY-10415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17464393#comment-17464393
 ] 

Paul King commented on GROOVY-10415:
------------------------------------

[~emilles] I changed the method implementations as described above and had 116 
errors in {{compileTestGroovy}} mostly to do with traits. I didn't look further 
(yet) but presume there are some hidden assumptions about the {{staticClass}} 
property somewhere.

> ClassNode isStaticClass/setStaticClass should be deprecated and phased out
> --------------------------------------------------------------------------
>
>                 Key: GROOVY-10415
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10415
>             Project: Groovy
>          Issue Type: Technical Debt
>            Reporter: Eric Milles
>            Priority: Minor
>
> {{org.codehaus.groovy.ast.ClassNode}} has field {{staticClass}}, 
> {{isStaticClass()}} and {{setStaticClass(boolean)}} probably for legacy 
> reasons.  These should be replaced by use of {{getModifiers()}} and 
> {{setModifiers(int)}}.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to