Add @JvmStatic Intention: Support functions/properties in objects

Also eliminate unnecessary object instance references on Java call sites

 #KT-20095 Fixed
This commit is contained in:
Alexey Sedunov
2017-11-03 15:39:16 +03:00
parent cfad305826
commit ba0b21d1a3
55 changed files with 446 additions and 109 deletions
@@ -0,0 +1,8 @@
package test;
class J {
void test(C.Companion companion) {
companion.foo("x");
C.Companion.foo("y");
}
}