title: Unchecked Cast from Class<capture#2-of ?> to Class<? extends EntityGhost>
body: <p>So, I was recently trying to fix some things in my code. I do Minecraft Modding in eclipse and found that some of the things in the code were unchecked. I couldn't find a solution to this one because nothing had been programmed similarly or exactly in this way, making it difficult to find out what to change in the code.</p>
  <pre><code>this.ghostTypes.add((Class&lt;? extends EntityGhost&gt;) Class.forName(types.getStringTagAt(i)));
  </code></pre>
  <p>if someone could point me in the right direction that would be great. I've been searching high and low on google but nothing was found except some people having the same problem, but completely different code.</p>