@ SuppressWarnings ( "unchecked" ) public static boolean findClass ( String className ) { try { return getClassLoader ( ) . loadClass ( className ) != null ; } catch ( ClassNotFoundException e ) { return false ; } catch ( NoClassDefFoundError e ) { return false ; } }
Find if Class denoted by the given string representation is loadable