title: Get parameter names at runtime with Java sbt
body: <p>Is there no equivalent <strong>compiler option</strong> (like Maven's <code>-parameters</code> configuration) to get the <strong>parameter name</strong> at runtime?</p>
  
  <p>The parameter will be named <code>arg0</code>, <code>arg1</code>, etc, at runtime.</p>
  
  <p>I've tried setting:</p>
  
  <pre class="lang-xml prettyprint-override"><code>scalacOptions += "-parameters"
  </code></pre>
  
  <p>By parameter name, I mean</p>
  
  <pre class="lang-java prettyprint-override"><code>public void test(String foo) {}
  </code></pre>
  
  <p><code>foo</code> is the name of the first parameter.</p>