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.

Help me please!!!! Getter and Setter can work, but Builder Can not work !

See original GitHub issue

Short description

Builder can not work

Expected behavior

Builder should be working

Version information

IntelliJ IDEA 2018.2.1 (Ultimate Edition) Build #IU-182.3911.36, built on August 6, 2018 Licensed to lan yu Subscription is active until May 5, 2019 JRE: 1.8.0_152-release-1248-b8 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0

  • Lombok Plugin Version: 0.19-LATEST-EAP-SNAPSHOT
  • Lombok Dependency Version: 1.18.2

Steps to reproduce

What steps do we need to take to reproduce this issue?

  1. ???
  2. ???
  3. ???

STACKTRACE HERE (inside code markup)


Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JackFecommented, Aug 13, 2018

1、Please Setup:… > Compiler > Java Compiler > Use Compiler: Javac,I’ve solved this problem(IDEA 2018.2). 2、Compiler Eclipse may be incompatible with lombok plugin

0reactions
interestingsnowcommented, Dec 17, 2018

image

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setter annotation is not working in Java class - Stack Overflow
There's a conflict between @Value (which helps creating immutable classes) and @Setter (which adds methods that mutates the class state).
Read more >
Is it strange for a Builder object to have getter methods?
I think there is nothing wrong per se to have getters in your builder class allowing to inspect which data was passed in....
Read more >
Why isn't auto generated getters/setters and builders part of ...
Both auto generated getters/setters, and an auto generated builder, could be configured using annotations, for example.
Read more >
Using the @Singular Annotation with Lombok Builders
We've seen how the @Singular annotation helps us to work with collections in Lombok. Besides providing convenience and expressiveness, it can ...
Read more >
Property getters and setters - The Modern JavaScript Tutorial
The getter works when obj.propName is read, the setter – when it is assigned. For instance, we have a user object with name...
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