4

Suppose part of annotations are not processed. Below you see setMinLatitude() setter is not discovered:

enter image description here

Simultaneously all getters are seen:

enter image description here

Building of project works fine, only IntelliJ hits are not up-to-date.

Dims
  • 47,675
  • 117
  • 331
  • 600

3 Answers3

3

For me "Build -> Rebuild project" fix this kind of issues.

user1321466
  • 1,889
  • 2
  • 21
  • 29
2

Go to build > Rebuild Project that will fix your problem

by the way you can use the annotation @Getter and @Setter on the class filed and it will generate for all the members in the class

Daniel Taub
  • 5,133
  • 7
  • 42
  • 72
0

I've had this problem when I've updated IDEA to a newer version, but the Lombok plugin wasn't automatically updated, and the existing version of the plugin was incompatible with the new version of IDEA. I didn't notice anything obvious to suggest that the plugin was the issue with annotation processing failures. Pulling up the "Plugins" settings (IntelliJ IDEA -> Preferences... -> Plugins on macOS) made it obvious that the plugin was no longer supported and needed to be updated. Updating the plugin and restarting immediately fixed the issue.

This probably doesn't apply in your case where some of the Lombok annotations are being processed, but will hopefully be helpful for others who have this issue.

M. Justin
  • 14,487
  • 7
  • 91
  • 130