* @throws NonWritablePropertyException if the property is not writable.
*/
public static <T> Component<T> setter(Class type, T obj, String prop)
throws IntrospectionException, NoSuchPropertyException,
NonWritablePropertyException{
final BeanType btype = BeanType.instance(type);
if(btype.getWriter(prop)==null && btype.getIndexedWriter(prop)==null)
throw new NonWritablePropertyException(type, prop);
return fun(Functions.setter(Bean.instance(type, obj), prop));
}