question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IDEA 2019.2 highlights builder() method invocation as an error

See original GitHub issue

Short description

builder() method usage causes a warning message:

Cannot access CustomerDto.CustomerDtoBuilder

Expected behavior

The IDEA warning message should not appear.

Version information

  • IDEA Version: IDEA 2019.2 (Ultimate Edition)
  • JDK Version: 1.8
  • OS Type & Version: Windows 10
  • Lombok Plugin Version: 0.25-2019.1
  • Lombok Dependency Version: 1.18.8

Steps to reproduce

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@FieldDefaults(level = PRIVATE)
public class CustomerDto {
    String id;
    String firstName;
}

screen

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:31
  • Comments:34 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
mplushnikovcommented, Aug 21, 2019

Hello everyone! Can you please test this build (Only Intellij 2019.2 and hiher) of plugin: https://github.com/mplushnikov/lombok-intellij-plugin/releases/download/0.26.alpha/lombok-plugin-0.26-2019.2.jar You have to install it manually: Settings->Plugins->Install Plugin from Disk…

It contains some fixes for general caching. Does it fix you issue in your environment?

4reactions
subanasifcommented, Aug 14, 2019

The problem also goes away if you use @Singular(“foo”) instead of just @Singular on property called “foo”. Its a workaround. The bug is definitely present.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliJ IDEA 2021.2 EAP (212.3116.29 build) Release Notes
Bug, IDEA-186208, Disabling "Code Style / Java / Chained method calls / Wrap first call" does not glue the method invocation to identifier....
Read more >
@Builder - Project Lombok
In the builder: A build() method which calls the method, passing in each field. It returns the same type that the target returns....
Read more >
git projects / idea / community.git / commitdiff
**IDEA Version:** _Please provide full IntelliJ IDEA Version ... #648: IDEA 2019.2 highlights builder() method invocation as an error</li>.
Read more >
IntelliJ show JavaDocs tooltip on mouse over - Stack Overflow
Select this check box to have IntelliJ IDEA automatically show a pop-up window with the documentation for the class, method, or field currently...
Read more >
nuq 'oH neH Rider chu' - JetBrains
nuq′s chu' qaStaHvIS Rider. goodies chu' chel debugger 'ej xamarin ios development Qutlh Dub Rider 2019.2. ui DaH clearer, friendlier je vI'Iprup ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found