IDEA 2019.2 highlights builder() method invocation as an error
See original GitHub issueShort 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;
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:31
- Comments:34 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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?
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.