code: public static boolean isPassthroughType(Class<?> type)
     {
        Assert.notNull(type, "Type to inspect must not be null.");
  
        boolean result = type.isArray()
                 || JAVA_LANG_PACKAGE_REGEXP.matcher(type.getName()).matches()
                 || JAVA_IO_PACKAGE_REGEXP.matcher(type.getName()).matches()
                 || JAVA_NET_PACKAGE_REGEXP.matcher(type.getName()).matches()
                 || JAVA_UTIL_LOGGING_PACKAGE_REGEXP.matcher(type.getName()).matches()
                 || type.isPrimitive();
  
        result = result && !(Iterable.class.getName().equals(type.getName()));
  
        return result;
     }
docs: Determine if the given {@link Class} type does not require {@link ClassLoader} proxying.