allow returning multiple PsiMethod wrappers for a JetFunction or JetPropertyAccessor; use that for handling Java usages through old-style and new-style facades

#KT-9102 Fixed
This commit is contained in:
Dmitry Jemerov
2015-09-11 19:50:49 +02:00
parent 4d09280aa8
commit ab58dc3586
24 changed files with 223 additions and 47 deletions
@@ -0,0 +1,11 @@
@file:JvmName("Bartender")
package testing.rename
public fun foo() = 1
fun usage() {
foo()
}
val some = foo()
@@ -0,0 +1,9 @@
package testing;
import testing.rename.Bartender;
class JavaClient {
public void testing() {
Bartender.foo();
}
}