Deprecate JVM platform annotations in favor of capitilized themselves

This commit is contained in:
Denis Zharkov
2015-09-04 14:46:46 +03:00
parent 5471a1d18a
commit 952d45dc8b
107 changed files with 290 additions and 266 deletions

View File

@@ -1,4 +1,4 @@
import kotlin.jvm.jvmStatic
import kotlin.jvm.JvmStatic
annotation(retention = AnnotationRetention.RUNTIME) class testAnnotation
@@ -7,14 +7,14 @@ class A {
companion object {
val b: String = "OK"
jvmStatic testAnnotation fun test1() = b
JvmStatic testAnnotation fun test1() = b
}
}
object B {
val b: String = "OK"
jvmStatic testAnnotation fun test1() = b
JvmStatic testAnnotation fun test1() = b
}
fun box(): String {