title: Java - Remove "Variable", keep assignments with side effects
body: <p>I am starting to develop for Android (And I am starting to think, does it worth it!). Eclipse keeps giving me a lot of strange warnings and errors too! Here is one that kept me frustrated for the last two hours with no luck on Google:</p>
  
  <pre><code>private String alertTitle= null;
  </code></pre>
  
  <p>There is an ! mark beside it saying Remove "alertTitle", keep assignments with side effects. What is this?! I am defining a variable exactly as Java states. I am using the variable later:</p>
  
  <pre><code>public ASAlertDialog setTitle(String title) {
          this.alertTitle = title;
          return this;
      }
  </code></pre>
  
  <p>Another one that's a little bit similar is defining enum"</p>
  
  <pre><code>public enum MyStyles {
       aStyle;
  }
  
  public MyStyles myStyle = aStyle;
  </code></pre>
  
  <p>This made Eclipse angry! </p>