Skip to content

@Builder and javadoc #1033

Closed
Closed
@kuipercm

Description

@kuipercm

Hi guys,

Maybe I missed it, but if I create a class with an @builder annotation and I add javadoc to the fields, I find that this javadoc is not "transported" onto the builder methods. It would be very helpful if this were possible.

If it is possible, I'm probably doing something wrong. How can I get it right?

My code looks like this:

@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Builder
@ToString
public class SomeClass {
    /** The name of the item */
    private final String name;
}

Cheers!

Activity

changed the title [-]@Build and javadoc[/-] [+]@Builder and javadoc[/+] on Feb 24, 2016
jcayzac

jcayzac commented on Jul 4, 2018

@jcayzac

This is a problem for us as well. Lombok is great for removing boilerplate but it shouldn't also remove all our documentation 😢

keeperlink

keeperlink commented on Aug 20, 2018

@keeperlink

Same issue. Any plans to fix it?

added a commit that references this issue on Jan 8, 2019

[#1033] steps on the way to issue 1033: You can add cleanup tasks whi…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @jcayzac@keeperlink@kuipercm

      Issue actions

        @Builder and javadoc · Issue #1033 · projectlombok/lombok