toBuilder-Method not visible

260 views
Skip to first unread message

Christian Finckler

unread,
Nov 26, 2015, 10:45:22 AM11/26/15
to Project Lombok
Hello,
the documentation https://projectlombok.org/features/Builder.html states, that the possiblity to generate a toBuilder-Method on the instance exists. But in my code it does not get generated.

import lombok.Builder;

@Builder(toBuilder = true)
public class Testclass {
private String testvalue;
}

Testclass testclass = Testclass.builder().testvalue("sfsd").build();
testclass.toBuilder() <-- not existing

The builder-method on the class existst. But the toBuilder-method on the instance not.

I am using lombok 1.1.16 with idea 15.


Could you please help me? 

Thank you very much,
Christian

Francis Lalonde

unread,
Dec 10, 2015, 5:06:39 PM12/10/15
to Project Lombok
Yup, got that behavior too. toBuilder() looks broken for now :(. I am using Eclipse and it didnt work. I don't remember if it worked in the Maven build.

Christian Finckler

unread,
Jan 23, 2016, 7:55:40 AM1/23/16
to Project Lombok
Hello, is this projekt no longer being maintained?

No updates for 6 months and no feedback for simple questions. 

Joseph B. Ottinger

unread,
Jan 23, 2016, 8:49:21 AM1/23/16
to project...@googlegroups.com
Well, it's still active... the developers are still around.

On Sat, Jan 23, 2016 at 7:55 AM, Christian Finckler <christian...@googlemail.com> wrote:
Hello, is this projekt no longer being maintained?

No updates for 6 months and no feedback for simple questions. 

--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Francis Lalonde

unread,
Jan 23, 2016, 10:15:34 PM1/23/16
to Project Lombok
I did not work for me at fist but I used toBuilder() succesfully this week in Eclipse (Mars). Maven was also fine with it. Not a problem anymore? Maybe the IDEA plugin also needs to be updated.
Reply all
Reply to author
Forward
0 new messages