Add annotation for parameter name in signatures

This commit is contained in:
e5l
2017-08-11 16:45:48 +03:00
committed by Leonid Stashevsky
parent 8201ff3006
commit 62e87c873c
37 changed files with 766 additions and 18 deletions
@@ -0,0 +1,11 @@
// SKIP_IN_RUNTIME_TEST
// ANDROID_ANNOTATIONS
package test;
import kotlin.annotations.jvm.internal.*;
public class StableName {
public void connect(@ParameterName("host") String host) {
}
}
@@ -0,0 +1,6 @@
package test
public open class StableName {
public constructor StableName()
public open fun connect(/*0*/ @kotlin.annotations.jvm.internal.ParameterName(value = "host") /* annotation class not found */ host: kotlin.String!): kotlin.Unit
}