title: Access scala's case class from java with optional parameters
body: <p>I have a case class having an optional parameter. When the parameter is not defined it should be set to some default. 
  Eg:</p>
  
  <pre><code>case class Foo(bar: Option[Int] = Some(100))
  </code></pre>
  
  <p>The problem arises when I try to access this case class from Java:</p>
  
  <pre><code>Foo foo = new Foo(Option.empty())
  </code></pre>
  
  <p>It doesn't assign the default value <code>100</code> to variable <code>bar</code></p>