com.avsystem.commons.jiop.JOptionalUtils
Note that in scala Some(null) is valid value.
Note that in scala Some(null) is valid value. It will throw an exception in such case, because java Optional is not able to hold null