b.convert(type, type.toObjectType());
b.returnValue(TypeDesc.OBJECT);
break;
}
case WRITE_METHOD: case TRY_WRITE_METHOD: {
b.loadLocal(beanVar);
b.loadLocal(valueVar);
TypeDesc type = TypeDesc.forClass(bp.getType());
b.checkCast(type.toObjectType());
b.convert(type.toObjectType(), type);
b.invoke(bp.getWriteMethod());