Skip to content

Lombok Builder() annotation auto-generates setter method with different position from private field #384

Open
@olafurpg

Description

@olafurpg

Reproduction:

@Builder()
class Hello {
  private String message;
}

Hello.builder().message("hello"); 

Navigation from the call-site message("hello") goes to the @Builder() annotation instead of the message field.

See PR #383 for a minimized reproduction.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions