title: IntelliJ highlights Lombok generated methods as “cannot resolve method”
body: <p>I am using Lombok’s <code>@Data</code> annotation to create the basic functionality of my POJOs. When I try to use these generated methods, IntelliJ highlights these as errors (<code>Cannot resolve method ‘getFoo()’</code>) and seems to be unable to find them. They do however exist, as I am able to run code using these methods without any trouble.</p>
  
  <p>I made sure to enable annotation processing, so that shouldn’t cause any problems.</p>
  
  <p>How can I get IntelliJ to find the methods and stop wrongly marking them as errors?</p>