protected static Class findClass ( final String className ) throws ClassNotFoundException { try { return Thread . currentThread ( ) . getContextClassLoader ( ) . loadClass ( className ) ; } catch ( ClassNotFoundException e ) { try { return Class . forName ( className ) ; } catch ( ClassNotFoundException e1 ) { return MavenCoordHelper . class . getClassLoader ( ) . loadClass ( className ) ; } } }
Find class given class name .