What kind of optimization does `final` enable?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/266806/is-there-any-performance-reason-to-declare-method-parameters-final-in-java">Is there any performance reason to declare method parameters final in Java?</a><br>
  <a href="http://stackoverflow.com/questions/4279420/does-use-of-final-keyword-in-java-improve-the-performance">Does use of final keyword in Java improve the performance?</a>  </p>
</blockquote>



<p>So there's a class-level object variable that's allocated upon object creation and stays put for the lifetime of the object:</p>

<pre><code>class MyClass
{
    private Rect rc = new Rect();
    //...
}
</code></pre>

<p>What do I gain be declaring it <code>final</code>? Same question for method-level variables.</p>
