d603142cc6
For this inspection three kinds of fixes are potentially available: - Add 'const' modifier to kotlin property - Add '@JvmField' annotation to kotlin property - Change field reference to getter invocation In case user chooses to 'cleanup code', these fixes are prioritized in this order
19 lines
439 B
Java
Vendored
19 lines
439 B
Java
Vendored
// "Cleanup code" "true"
|
|
import a.*;
|
|
|
|
class B {
|
|
void bar() {
|
|
Cl.prope<caret>rty1;
|
|
Cl.property2;
|
|
Cl.Companion.getProperty1();
|
|
Cl.Companion.getProperty2();
|
|
Int.property1;
|
|
Int.property2;
|
|
Int.Companion.getProperty1();
|
|
Int.Companion.getProperty2();
|
|
Obj.property1;
|
|
Obj.property2;
|
|
Obj.INSTANCE.getProperty1();
|
|
Obj.INSTANCE.getProperty2();
|
|
}
|
|
} |