Support hasStableParameterNames in KotlinSignature and propagation
#KT-1924 In Progress #KT-2830 Fixed
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// FILE: A.java
|
||||
|
||||
import kotlin.jvm.KotlinSignature;
|
||||
|
||||
interface A {
|
||||
@KotlinSignature("fun foo(kotlinSignatureName: String): Unit")
|
||||
void foo(String javaName);
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
class B : A {
|
||||
override fun foo(<!PARAMETER_NAME_CHANGED_ON_OVERRIDE!>kotlinName<!>: String) {}
|
||||
}
|
||||
|
||||
class C : A {
|
||||
override fun foo(kotlinSignatureName: String) {}
|
||||
}
|
||||
Reference in New Issue
Block a user