src/main/java/com/github/fge/grappa/misc/AsmUtils.java
public static boolean isAssignableTo(final String classInternalName,
        final Class<?> type)
    {
        Objects.requireNonNull(classInternalName, "classInternalName");
        Objects.requireNonNull(type, "type");

        final Class<?> c = CACHE.loadClass(classInternalName);
        //final Class<?> c = getClassForInternalName(classInternalName);
        return type.isAssignableFrom(c);
    }
public static boolean isAssignableTo(final String classInternalName,
        final Class<?> type)
    {
        Objects.requireNonNull(classInternalName, "classInternalName");
        Objects.requireNonNull(type, "type");

        final Class<?> c = CACHE.loadClass(classInternalName);
        //final Class<?> c = getClassForInternalName(classInternalName);
        return type.isAssignableFrom(c);
    }
public static boolean isAssignableTo ( final String classInternalName , final Class < ? > type ) { Objects . requireNonNull ( classInternalName , "classInternalName" ) ; Objects . requireNonNull ( type , "type" ) ; final Class < ? > c = CACHE . loadClass ( classInternalName ) ; //final Class<?> c = getClassForInternalName(classInternalName); return type . isAssignableFrom ( c ) ; }
Determines whether the class with the given descriptor is assignable to
the given type.

@param classInternalName the class descriptor
@param type the type
@return true if the class with the given descriptor is assignable to the
given type
Determines whether the class with the given descriptor is assignable to the given type .