Checking if a class has an associated primitive type
<p>Is there an easy way to detect whether a Class such as Integer or Long has an associated primitive type? (e.g. int and long respectively)</p>

<p>And by easy I don't mean something like maintaining a collection of Classes and checking if that class lives in the collection.</p>
