Does a Java class get loaded if I access MyClass.class.getName()?
<p>I want to explicitly initialize some classes during the initialization of my application using <code>Class.forName</code>, but in order make that code survive refactorings, I want to use this:</p>

<pre><code>Class.forName(MyClass.class.getName());
</code></pre>

<p>I wonder: Wouldn't the class be loaded as soon as the <code>getName</code> method is executed thus making <code>Class.forName</code> unnecessary?</p>
