public static boolean isAssignableFrom ( Class < ? > destination , Class < ? > source ) { return destination . isAssignableFrom ( source ) || isBoxing ( destination , source ) || isUnBoxing ( destination , source ) ; }
Returns true if destination is assignable from source analyzing autoboxing also .