Re: @TupleConstructor: what am I doing wrong?

2018-01-19 Thread Mauro Molinari
Hi Paul, thank you! I opened GROOVY-8453. Mauro Il 13/01/2018 00:52, Paul King ha scritto: We originally didn't support JavaBean properties for most of the AST transformations. We added support and added an allProperties flag defaulting to true. Basically, this is an acknowledgement that we

Re: @TupleConstructor: what am I doing wrong?

2018-01-12 Thread Mauro Molinari
Hi Paul, thank you! I can't see |allProperties| annotation attribute in any of those annotations, at least in Groovy 2.4.x. Let me know if I should open a JIRA ticket about this. But... by the way... why the need of such an attribute? What's the difference between properties included whatever

Re: @TupleConstructor: what am I doing wrong?

2018-01-11 Thread Paul King
I haven't checked the code yet but I think @Builder and @ToString originally had similar issues and we added an `allProperties` attribute with default true. Perhaps that is needed here too. I'll try to check the code shortly. On Thu, Jan 11, 2018 at 11:57 PM, Mauro Molinari

@TupleConstructor: what am I doing wrong?

2018-01-11 Thread Mauro Molinari
Hello all, I'm getting crazy because I can't understand what I'm doing wrong. Consider this (it can be pasted on the Groovy console): |import groovy.transform.TupleConstructor|| || ||public class Foobar {|| ||  private Long id;|| ||  public Long getId() { return this.id; }|| ||  public