JvmName annotation support, single-file facade case (just rename file facade class)
- initial implementation of JvmFileClassesProvider
- migrate some of PackagePartClassUtil usages to JvmFileClassesProvider (mostly in Codegen)
- placeholder ("no resolve") implementation for migration period and unclear cases
- tests
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
public class Baz {
|
||||
public static String baz() {
|
||||
return Foo.foo() + Bar.bar();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
@file:jvmName("Bar")
|
||||
public fun bar(): String = "K"
|
||||
+1
@@ -0,0 +1 @@
|
||||
fun box(): String = Baz.baz()
|
||||
@@ -0,0 +1,2 @@
|
||||
@file:jvmName("Foo")
|
||||
public fun foo(): String = "O"
|
||||
@@ -0,0 +1,5 @@
|
||||
public class Bar {
|
||||
public static String bar() {
|
||||
return Foo.foo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
@file:jvmName("Foo")
|
||||
public fun foo(): String = "OK"
|
||||
@@ -0,0 +1 @@
|
||||
fun box(): String = Bar.bar()
|
||||
Reference in New Issue
Block a user