Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-10691

POJO transform applies to only top-level types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0.3
    • 4.0.4
    • Static compilation
    • None

    Description

      The logic for the @POJO annotation is applied only to top-level classes, even if the nested classes are explicitly annotated with @CompileStatic.

      @CompileStatic @POJO
      class MetaClassExcluded {
        @CompileStatic @POJO
        static class StillHasMetaClass {}
      }
      

      Attachments

        Activity

          People

            paulk Paul King
            chrylis Christopher Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: