protected boolean isAssignableFrom(Class<?> type, Class<?>[] classes) {

        if (type == null)
            return false;

        //  there are some other abstract/interface types to exclude too:
        for (Class<?> cls : classes) {
            if (cls.isAssignableFrom(type)) {
                return false;
            }
        }

        return true;
    }
Check some are interface/abstract classes to exclude.

@param type    the type
@param classes the classes
@return the boolean
src/main/java/com/alibaba/fastjson/support/jaxrs/FastJsonProvider.java