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

Stubs for classes implementing traits with fields don't include getters/setters

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

Details

    • Patch

    Description

      As an example, the stubs generated for GroovyXImpl for the Groovy below doesn't include int getFoo() or void setFoo(int value).

      trait GroovyXTrait {
          int foo
      }
      class GroovyXImpl implements GroovyXTrait { }
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            paulk Paul King
            keegan Keegan Witt
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment