aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/java-interop/pos/t1782/Test_1.scala
blob: 6467a74c297468f72bb220091fc574c6b814afa8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@ImplementedBy(classOf[Provider])
trait Service {
  def someMethod()
}

class Provider
    extends Service
{
  // test enumeration java annotations
  @Ann(Days.Friday) def someMethod() = ()

  // #2103
  @scala.beans.BeanProperty
  @Ann(value = Days.Sunday)
  val t2103 = "test"
}