title: Annotating constructor parameters in Scala
body: <p>Annotating constructor parameters seems to do nothing when compiled to bytecode. I get no compiler warnings either.</p>
  
  <p>The following works. <code>getAnnotations</code> for the <code>name</code> field returns <code>javax.annotation.Nullable</code>.</p>
  
  <pre><code>class Person {
      @Nullable var name: String = _;
  }
  </code></pre>
  
  <p>The following doesn't, neither with <code>val</code> or <code>var</code>.</p>
  
  <pre><code>class Person(@Nullable var name: String)
  </code></pre>
  
  <p>This is probably not intentional, so is there something I am missing or should I go file a bug report?</p>