GMaven (OLD... DO NOT USE)
  1. GMaven (OLD... DO NOT USE)
  2. MGROOVY-111

Stub generation does not build implied getter/setter methods

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.0-beta-3
    • Fix Version/s: 1.0-rc-1
    • Component/s: stub generation
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      2

      Description

      I'm using mixed compilation mode, and Groovy stubs generated do not include the implied getter / setter methods you should get when defining a field with no modifier on a Groovy class. Therefore Java code which depends on the methods signature of implied methods will not compile.

      1. Demo.groovy
        0.1 kB
        Jonathan Whitall
      2. DemoTest.java
        0.2 kB
        Jonathan Whitall

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Jason Dillon
              Reporter:
              Jonathan Whitall
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: