title: Scala 2.8: use Java annotation with an array parameter
body: <p>I'm trying to implement an JavaEE Session Bean with Scala 2.8.<br>
  Because it's a Remote Session Bean, i have to annotate it with the following Java Annotation:</p>
  
  <pre><code>@Target({ElementType.TYPE})
  @Retention(RetentionPolicy.RUNTIME)
  public @interface Remote {
    Class[] value() default {};
  } 
  </code></pre>
  
  <p>I only found <a href="http://dotneverland.blogspot.com/2009/06/enterprise-scala-beans.html" rel="noreferrer">this example</a> for scala 2.7.
  In Scala 2.7, its possible to define the session bean like this:</p>
  
  <pre><code>@Remote {val value = Array(classOf[MyEJBRemote])}
  class MyEJB
  ...
  </code></pre>
  
  <p>How can i use this annotation the same way with Scala 2.8? I already tried many different versions, all resulting in "annotation argument needs to be a constant", "illegal start of simple expression".
  All of these definitions don't work:</p>
  
  <pre><code>@Remote{val value = Array(classOf[MyEJBRemote])}
  @Remote(val value = Array(classOf[MyEJBRemote]))
  @Remote(Array(classOf[MyEJBRemote]))
  </code></pre>