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
11 lines
195 B
Java
Vendored
11 lines
195 B
Java
Vendored
// "Annotate property with @JvmField" "true"
|
|
import a.A;
|
|
|
|
class B {
|
|
void bar() {
|
|
A a = A.pro<caret>perty;
|
|
A a2 = A.Companion.getProperty();
|
|
A a3 = A.property;
|
|
}
|
|
}
|