src/main/java/org/deephacks/tools4j/cli/Utils.java
static boolean onClasspath(String className) {
        ClassLoader cl = Thread.currentThread().getContextClassLoader();
        try {
            cl.loadClass(className);
        } catch (ClassNotFoundException e) {
            return false;
        }
        return true;
    }
static boolean onClasspath(String className) {
        ClassLoader cl = Thread.currentThread().getContextClassLoader();
        try {
            cl.loadClass(className);
        } catch (ClassNotFoundException e) {
            return false;
        }
        return true;
    }
static boolean onClasspath ( String className ) { ClassLoader cl = Thread . currentThread ( ) . getContextClassLoader ( ) ; try { cl . loadClass ( className ) ; } catch ( ClassNotFoundException e ) { return false ; } return true ; }
Checks to see if JSR303 implementation is
available on classpath.
Checks to see if JSR303 implementation is available on classpath .