public < T > Class < T > getType ( String typeName ) { try { return ( Class < T > ) classLoader . loadClass ( typeName ) ; } catch ( ClassNotFoundException e ) { throw new IllegalArgumentException ( "Cannot find class " + typeName , e ) ; } }
Create and return an instance of the given type name .