title: Naming Convention for java final variable which is not static
body: <p>I have a method in a java class.</p>
  
  <pre><code>public void myMethod() {
      final String methodName = "myMethod";
  }
  </code></pre>
  
  <p>When I ran this code through an analysis in sonar, I am getting an issue saying </p>
  
  <blockquote>
    <p>Rename this constant name to match the regular expression
    <code>'^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'</code></p>
  </blockquote>
  
  <p>My purpose of this variable is to use it in Logger statements to track my application flow.</p>
  
  <p>This variable is not a <code>static</code> variable. I have gone through <a href="https://softwareengineering.stackexchange.com/questions/252243/naming-convention-final-fields-not-static">https://softwareengineering.stackexchange.com/questions/252243/naming-convention-final-fields-not-static</a>. But I didn't got a clear picture. Can someone help me to give proper naming convention for my final(not static) variable?</p>