rename Kotlin methods used in Java code
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user