scip-java icon indicating copy to clipboard operation
scip-java copied to clipboard

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

Open olafurpg opened this issue 4 years ago • 0 comments

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 https://github.com/sourcegraph/lsif-java/pull/383 for a minimized reproduction.

olafurpg avatar Dec 14 '21 08:12 olafurpg