diff options
Diffstat (limited to 'test/files/jvm')
-rw-r--r-- | test/files/jvm/annotations.scala | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/files/jvm/annotations.scala b/test/files/jvm/annotations.scala index 740a74226e..a0b087a8db 100644 --- a/test/files/jvm/annotations.scala +++ b/test/files/jvm/annotations.scala @@ -94,8 +94,8 @@ object Test4 { } class Foo8(@SourceAnnotation("constructor val") val n: Int) {} class Foo9 { - import scala.annotation.target._ - import scala.reflect.BeanProperty + import scala.beans.meta._ + import scala.beans.BeanProperty @(SourceAnnotation @getter)("http://apple.com") val x = 0 @BeanProperty @(SourceAnnotation @beanSetter)("http://uppla.com") var y = 0 @@ -103,8 +103,8 @@ object Test4 { @BeanProperty @myAnn("http://eppli.com") var z = 0 } class Foo10(@SourceAnnotation("on param 1") val name: String) - class Foo11(@(SourceAnnotation @scala.annotation.target.field)("on param 2") val name: String) - class Foo12(@(SourceAnnotation @scala.annotation.target.setter)("on param 3") var name: String) + class Foo11(@(SourceAnnotation @scala.beans.meta.field)("on param 2") val name: String) + class Foo12(@(SourceAnnotation @scala.beans.meta.setter)("on param 3") var name: String) def run { import java.lang.annotation.Annotation import java.lang.reflect.AnnotatedElement @@ -157,7 +157,7 @@ object Test4 { } object Test5 { - import scala.reflect.BeanProperty + import scala.beans.BeanProperty import java.lang.Integer class Count { @@ -182,7 +182,7 @@ object Test5 { } object Test6 { - import scala.reflect.BeanProperty + import scala.beans.BeanProperty import scala.reflect.BooleanBeanProperty class C(@BeanProperty var text: String) class D(@BooleanBeanProperty var prop: Boolean) { |