@Builder implemenation

52 views
Skip to first unread message

Anatoly Kondratyev

unread,
Apr 5, 2012, 1:37:16 PM4/5/12
to project...@googlegroups.com
I start working on implementing Builder annotation, but I've already have a question: why do author of this article ( https://github.com/rzwitserloot/lombok/wiki/transformation-ideas ) connects @Builder to @Data? Yes, they have something in common (like creating methods for each field in class), but what else? May be I miss something?

Matt Fowles

unread,
Apr 5, 2012, 1:51:59 PM4/5/12
to project...@googlegroups.com
Anatoly~

The requirement for a constructor that takes all the fields as arguments is the commonality.  I don't believe you are missing anything.

Matt

On Thu, Apr 5, 2012 at 1:37 PM, Anatoly Kondratyev <anatoly.k...@gmail.com> wrote:
I start working on implementing Builder annotation, but I've already have a question: why do author of this article ( https://github.com/rzwitserloot/lombok/wiki/transformation-ideas ) connects @Builder to @Data? Yes, they have something in common (like creating methods for each field in class), but what else? May be I miss something?

--
You received this message because you are subscribed to the Google
Groups group for http://projectlombok.org/
 
To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/project-lombok?hl=en

Reply all
Reply to author
Forward
0 new messages