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

Enhance immutability check

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0-alpha-1, 3.0.6
    • Component/s: None
    • Labels:
      None

      Description

      If a class is marked with one of the annotations:

      • groovy.transform.Immutable  (already supported)
      • groovy.transform.KnownImmutable  (already supported)
      • net.jcip.annotations.Immutable (supported by Findbugs and IntelliJ IDEA{{)}}
      • javax.annotation.concurrent.Immutable (its RetentionPolicy is CLASS, can not be got via reflection)

      we will believe their promise and treat them as immutable class.

        Attachments

          Activity

            People

            • Assignee:
              daniel_sun Daniel Sun
              Reporter:
              daniel_sun Daniel Sun

              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

                Issue deployment