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.

Find usages with IDEA 2016.3 EAP (build 163.5644.15), Lombok 1.16.10 and Lombok plugin 0.13.16 not working

See original GitHub issue

Given this simple test class.

import lombok.Data;

@Getter //or @Data
public class TestClass {

    private String string;

    @Override
    public String toString() {
        getString();
        return string;
    }
}

code is generated (as shown) but find usages on the field retrieves no result. IDE event log is empty so don’t know how to provide more insight.

For the record, switching the annotation (so, from @Getter to @Data) breaks code generation in the IDE (maven is still fine). Restarting the IDE invalidating the cache makes code generation working but not find usages (which is particularly annoying since then also refactoring features are broken, since they rely on usages). Full project attached.

Thanks for any feedback test.zip

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
bric3commented, Oct 12, 2016

Also it seems that Analyse Data Flow don’t find accessors to leading to missed usage

0reactions
mplushnikovcommented, Jul 15, 2018

closed as duplicate of #144 and #186

Read more comments on GitHub >

github_iconTop Results From Across the Web

Find usages doesn't work (for example Accessors with Setter ...
Find usages with IDEA 2016.3 EAP (build 163.5644.15), Lombok 1.16.10 and Lombok plugin 0.13.16 not working #294.
Read more >
Can't compile project when I'm using Lombok under IntelliJ IDEA
Download the JAR file into the project lib directory (e.g., $HOME/dev/java/project/libs ). Start the IDE. Click File Settings. Expand Build, Execution, ...
Read more >
Build project with lombok - IntelliJ Ultimate 2020.3 EAP
now lombok plugin is build in 2020.3 EAP and it uses 1.18.16 version of lombok plugin. Problem is solved by bug --> IDEA-253011....
Read more >
Lombok Changelog
FEATURE: You can now use @Accessors(makeFinal = true) to make final getters, setters, and with-ers. Issue #1456. BUGFIX: Various save actions and refactor ......
Read more >
dependency 'org.projectlombok:lombok:1.18.24' not found
After fixing those 3 issues lombok worked fine for me. Open side panel. Gradle build ... get the same Error: To build my...
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