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

Stub generator doesn't generate property accessors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 4.0.15
    • None
    • None

    Description

      I have a Java interface

      public interface Foo {
        Bar getBar();
      }
      

      and a Groovy class

      @TupleConstructor
      class FooImpl implements Foo {
        final Bar bar
      }
      

      The generated stub does not include the Bar getBar() property accessor, which causes the stub compilation to fail.

      Attachments

        Activity

          People

            emilles Eric Milles
            chrylis Christopher Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: