title: Can you get a class name as a constant for scala annotations?
body: <p>I have an <a href="http://docs.swagger.io/swagger-core/apidocs/com/wordnik/swagger/annotations/ApiImplicitParam.html#dataType()" rel="nofollow noreferrer">annotation</a> which requires a String describing a class name, eg <code>com.package.MyClass</code>.  </p>
  
  <p>I can pass it as a string but would like it to reference the class itself for compilation/refactoring.</p>
  
  <p>However I cannot use <code>MyClass.getName.</code> or <code>classOf[MyClass].toString</code> because it is not a constant:</p>
  
  <p><code>Compilation error[annotation argument needs to be a constant</code></p>
  
  <p>Is there a way to get a const reference to a classes name? Or another way to reference the class names as a string in annotations?</p>