rename Kotlin methods used in Java code

This commit is contained in:
Dmitry Jemerov
2012-05-22 19:08:58 +02:00
parent fa1ecfaa93
commit 88c4778055
9 changed files with 153 additions and 21 deletions
@@ -0,0 +1,5 @@
package testing.rename
public open class C {
public fun second() = 1
}
@@ -0,0 +1,9 @@
package testing;
import testing.rename.C;
class JavaClient {
public void foo() {
new C().second();
}
}
@@ -0,0 +1,5 @@
package testing.rename
public open class C {
public fun first() = 1
}
@@ -0,0 +1,9 @@
package testing;
import testing.rename.C;
class JavaClient {
public void foo() {
new C().first();
}
}