title: Java Enums: List enumerated values from a Class<? extends Enum>
body: <p>I've got the class object for an enum (I have a <code>Class&lt;? extends Enum&gt;</code>) and I need to get a list of the enumerated values represented by this enum. The <code>values</code> static function has what I need, but I'm not sure how to get access to it from the class object.</p>