nullable to optional Optional.ofNullable(hogeNullable) // Optional<Hoge> hogeOpt.orElse(null) // Hoge?