does a Java getter incur a performance penalty
<p>if i have the code </p>

<pre><code>int getA(){
 return a;
}
</code></pre>

<p>and then do something like</p>

<pre><code>int b = obj.getA();
</code></pre>

<p>instead of</p>

<pre><code>int b = obj.a;
</code></pre>

<p>will that mean that the stack will have to be pushed and popped ultimately slowing down my code?</p>
