>>773
> val hoge:Option<String>=null;

これは直接nullを束縛しない限りは型チェックで引っかかるでしょ

val s: String = null
val hoge: Option[String] = s

はエラーになるんだから