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

Make @NullCheck play nicer with @Immutable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1, 3.0.2
    • None
    • None

    Description

      This is a follow up to GROOVY-9406. We accidentally had generated (including constructors) having the null checks added without proper checking for things like this() and super() calls. GROOVY-9406 fixed those issues and added a includeGenerated annotation attribute but it highlighted some short-comings when using with @Immutable and @Canonical. This issue addresses those short-comings.

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              paulk Paul King
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h