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
@@ -1,4 +1,4 @@
package test
@jvmName("bar")
@JvmName("bar")
fun foo() {}
@@ -1,6 +1,6 @@
package test
kotlin.jvm.jvmName(name = "bar") internal fun foo(): kotlin.Unit
kotlin.jvm.JvmName(name = "bar") internal fun foo(): kotlin.Unit
public open class PlatformName {
public constructor PlatformName()
@@ -2,7 +2,7 @@ package test
class E1: Exception()
Throws(E1::class) jvmOverloads
Throws(E1::class) JvmOverloads
fun one(a: Int = 1) {}
class One @Throws(E1::class) constructor(a: Int = 1) {
@@ -1,6 +1,6 @@
package test
kotlin.jvm.jvmOverloads() internal fun one(/*0*/ kotlin.Int = ...): kotlin.Unit
kotlin.jvm.JvmOverloads() internal fun one(/*0*/ kotlin.Int = ...): kotlin.Unit
internal final class E1 : java.lang.Exception {
public constructor E1()