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

final @Property x generates a setX method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-4
    • 1.0-JSR-5
    • class generator
    • None

    Description

      The parser allows the final keyword to be applied to a @Property however the code generator still generates a set method for the property.

      The code generator should only generate a get mthod if the property is final.

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            tug John Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: