public static boolean isAssignableFrom(Class<?> destination,Class<?> source){
  return destination.isAssignableFrom(source) || isBoxing(destination,source) || isUnBoxing(destination,source);
}

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 .
