Files
kotlin/idea/testData/multiFileIntentions/addJvmStaticToObjectProperty/before/test/J.java
Alexey Sedunov ba0b21d1a3 Add @JvmStatic Intention: Support functions/properties in objects
Also eliminate unnecessary object instance references on Java call sites

 #KT-20095 Fixed
2017-11-07 19:25:03 +03:00

11 lines
154 B
Java
Vendored

package test;
class J {
void test(O o) {
o.getFoo();
o.setFoo(1);
O.INSTANCE.getFoo();
O.INSTANCE.setFoo(2);
}
}