Is class.getName() expensive?
<p>In many classes of a project I am working on, I see private static final members named CLASS_NAME, which are defined like this:</p>

<pre><code>public class MyClass {
  private static final String CLASS_NAME = MyClass.class.getName();
  //...
}
</code></pre>

<p>What are the benefits, if any, of doing this to get the class name, rather than doing the <code>MyClass.class.getName()</code> call directly where the name is needed?</p>
