You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2022/07/23 16:34:00 UTC
[jira] [Updated] (GROOVY-10691) POJO transform applies to only top-level types
[ https://issues.apache.org/jira/browse/GROOVY-10691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Milles updated GROOVY-10691:
---------------------------------
Fix Version/s: (was: 5.0.0-alpha-1)
> POJO transform applies to only top-level types
> ----------------------------------------------
>
> Key: GROOVY-10691
> URL: https://issues.apache.org/jira/browse/GROOVY-10691
> Project: Groovy
> Issue Type: Bug
> Components: Static compilation
> Affects Versions: 4.0.3
> Reporter: Christopher Smith
> Assignee: Paul King
> Priority: Minor
> Fix For: 4.0.4
>
>
> The logic for the {{@POJO}} annotation is applied only to top-level classes, even if the nested classes are explicitly annotated with {{@CompileStatic}}.
> {code}
> @CompileStatic @POJO
> class MetaClassExcluded {
> @CompileStatic @POJO
> static class StillHasMetaClass {}
> }
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)