base/common/src/main/com/thesett/common/util/ReflectionUtils.java
public static boolean isSubTypeOf(Class parent, String className)
    {
        try
        {
            Class cls = Class.forName(className);

            return parent.isAssignableFrom(cls);
        }
        catch (ClassNotFoundException e)
        {
            // Exception noted and ignored.
            e = null;

            return false;
        }
    }
public static boolean isSubTypeOf(Class parent, String className)
    {
        try
        {
            Class cls = Class.forName(className);

            return parent.isAssignableFrom(cls);
        }
        catch (ClassNotFoundException e)
        {
            // Exception noted and ignored.
            e = null;

            return false;
        }
    }
Checks if the named class exists and is loadable and is a sub-type of the specified class.

@param  parent    The class to check that the named class is a sub-type of.
@param  className The class to check for.

@return <tt>true</tt> if the named class exists and is loadable and is a sub-type of the specified class.