[
https://issues.apache.org/jira/browse/GROOVY-10415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17464625#comment-17464625
]
Eric Milles commented on GROOVY-10415:
--------------------------------------
I wouldn't spend too much on this right now. I experimented with setting
{{staticClass}} property based on static modifier in the constructor of
{{InnerClassNode}} and there were similar problems.
> 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)