if (uiValue == null) {
return createErrorOptional(new Message(Messages.LogicImpl_VALUE_IS_NOT_AVAILABLE,
MessagePriority.BLOCKING_PROBLEM));
}
JsValue jsValue = uiValue.getJsValue();
JsObject jsObject = jsValue.asObject();
if (jsObject == null) {
return createErrorOptional(
new Message(Messages.LogicImpl_NOT_FOR_PRIMITIVE, MessagePriority.BLOCKING_PROBLEM));
}