title: Exclude comments and strings while refactoring with Android Studio
body: <p>Rename Method re-factoring not only rename the variables but anywhere including comments (it can not be sure if string in comments is really variable name).</p>
  
  <p>For example:</p>
  
  <pre class="lang-java prettyprint-override"><code>class ABC{
     private String username;
  
     private void X(){
      String str = "username";
     }
  }
  </code></pre>
  
  <p>Now, after renaming the class member <code>username</code>, Android Studio will Behave like:</p>
  
  <pre class="lang-java prettyprint-override"><code>class ABC{
     private String mUsername;
  
     private void X(){
      String str = "mUsername"; // it should be remain same as String str = "username";
     }
  }
  </code></pre>
  
  <p>Is there any way to change the Re-factoring Setting in Android Studio?</p>