public static boolean isAssignableValue(Class type,Object value){
  Assert.notNull(type,"Type must not be null");
  return (value != null ? isAssignable(type,value.getClass()) : !type.isPrimitive());
}

public static boolean isAssignableValue ( Class type , Object value ) { Assert . notNull ( type , "Type must not be null" ) ; return ( value != null ? isAssignable ( type , value . getClass ( ) ) : ! type . isPrimitive ( ) ) ; }
determine if the given type is assignable from the given value , assuming setting by reflection . considers primitive wrapper classes as assignable to the corresponding primitive types .
