public static Class < ? > typeToClass ( Type type ) { String classname = typeToClassgetname ( type ) ; try { return ReflectionPlume . classForName ( classname ) ; } catch ( Exception e ) { throw new RuntimeException ( "can't find class for " + classname , e ) ; } }
Returns the class that corresponds to type .