title: SonarQube false positive squid:S1450 for @Getter (lombok) annotated fields
body: <p>I think I have found a false positive while using the <a href="https://projectlombok.org/features/GetterSetter.html" rel="noreferrer"><code>@Getter</code></a> annotation from <a href="https://projectlombok.org/" rel="noreferrer">Project Lombok</a>.</p>
  
  <p>In the following example class I got the warning <em>"Private fields only used as local variables in methods should become local variables"</em> (<a href="https://sonarqube.com/coding_rules#rule_key=squid%3AS1450" rel="noreferrer"><code>squid:S1450</code></a>).</p>
  
  <pre><code>public class Example {
  
      @Getter
      private String exampleField; // &lt;-- squid:S1450
  
      public Example(final String value) {
          setExampleField(value);
      }
  
      private void setExampleField(final String exampleField) {
          this.exampleField = exampleField;
      }
  
  }
  </code></pre>
  
  <p>Can someone confirm this? Is it a bug in the SonarQube rule or is there something wrong with my class or with my understanding of this rule or the <code>@Getter</code> annotation?</p>
  
  <p>Just for the sake of completeness:</p>
  
  <ul>
  <li>Project lombok annotations or the generated methods are recognized correctly in other SonarQube rules. So I think my setup is fine.</li>
  <li>I have also tried to put the <code>@Getter</code> annotation on class level and I got the same warning.</li>
  <li>The warning is shown in SonarLint (in IntelliJ IDEA) and in the web interface of SonarQube. So I think it's not an error while executing the analyzer.</li>
  <li>I have bound the SonarLint pluign in IntelliJ IDEA to our SonarQube Server and this remote connection works.</li>
  </ul>
  
  <p>I have tested with the following versions:</p>
  
  <ul>
  <li>SonarQube 6.0</li>
  <li>SonarQube Java Plugin 4.2</li>
  <li>SonarLint (for IntelliJ IDEA) 2.3.2</li>
  <li>IntelliJ IDEA 2016.2.5</li>
  <li>Java 8</li>
  </ul>